IDEs & Debugging

Summary

In this course you have learnt how to use an IDE to automate parts of your work. In particular:

  • Completing longer variable names automatically
  • Spotting small problems in your code, both errors and code formatting issues
  • Running your code through a debugger to peek at the data inside it while it is running
  • Running some or all of your tests and getting the summaries of failing tests
  • Running your tests through the debugger to find out what's causing a failure

IDEs can do a lot more than that which we have covered in this course. The next most commonly used feature is probably integration with version control tools. If you are using Git for your source code (you should be!) then the IDE can help you manage branches as well as commiting and viewing changes. The best source of information for this is the official documentation:

I recommend looking through the official documentation for the IDE you are using to see what else it can do for you:

Credits

This course was written by Matt Williams. All text is published under a Creative Commons Attribution 4.0 International License with all code snippets licensed as MIT.

The source for the material can be found on GitLab where fixes are welcome.