Article Summary:
Learn about new GDB’s experimental feature - source tracking breakpoints.
Article Description:
Learn about a new GDB feature I’m working on - source tracking breakpoints follow your code changes. When the source code is adjusted (line number of the line the breakpoint was set to shifts), GDB would automatically reset breakpoints to follow the code changes. This feature may be especially useful when you’re using scripts for setting multiple breakpoints and then adjusting code on the run while debugging. I’ll show you how to enable this feature and teach you how to use it to make the most of it.
This feature is experimental, it’s been submitted upstream and currently being reviewed,
I’m still working on it and would love to get feedback from the users.
No deep GDB knowledge is required.
[x ] I have read and understand the Ai-Assisted Contributions Policy