Changes between Version 4 and Version 5 of code/tools/Debugging
- Timestamp:
- May 14, 2013, 2:03:53 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/tools/Debugging
v4 v5 22 22 * To delete a breakpoint you can either use '''delete''' or '''clear'''. Type '''help''' / '''help ''gdb-function''''' for more information. 23 23 === Setting Watchpoints === 24 Sometimes it's useful lto know when the value of a variable changes.24 Sometimes it's useful to know when the value of a variable changes. 25 25 1. To make use of this feature set a breakpoint somewhere you can access the variable from (watchpoints for static variables can be set without doing this). 26 26 2. Run the program and wait for the breakpoint to get triggered