- Course Breakdown
- Syntax highlighting
- Giving variables clear names
- Don't Repeat Yourself (The DRY Rule)
- Adding a for loop to remove repeated code
- Practice: Adding for loops to improve readability
- Adding a function to remove repeated code
- When and where to add comments to the program
- How to comment in common programming languages
- Making functions as short as possible
- Practice: Splitting a large function into multiple smaller functions
- Formatting code properly
- Putting similar blocks of code together
- Indentation and line length
- The golden rules of writing readable programs
- Compiling C programs
- Opening a terminal
- Installing GDB on Linux
- Installing LLDB On Mac
- Installing GDB on Windows
- Using onlinegdb.com
- The essential GDB commands
- Breakpoints and Watchpoints
- Extra GDB Commands
- Summary of all the GDB commands
- Practice: Using GDB to fix common errors in C
- Program 1
- Program 2
- Program 3
- Using JDB - An alternative to Eclipse
- Installing Eclipse on Mac and Windows
- Installing Eclipse on Linux
- Debugging our first program in Eclipse
- Adding breakpoints in Eclipse
- Adding watchpoints in Eclipse
- Exception Breakpoints
- Watching Expressions
- Display data collections whilst debugging
- A summary of debugging Java programs in Eclipse
- Practice: Using Eclipse to debug some simple Java programs
- Program 1
- Program 2
- Program 3