Managing Breakpoints
Breakpoints are the mainstay of application debugging. Press F9 on a line of code to toggle breakpoints on and off. Breakpoints are apparently one of the first things that programmers thought of when they created the operating system. Way back to MS-DOS and to this day, interrupt 3—a system–level function—is the debug, or breakpoint, interrupt. You can still insert an int 3 instruction in an assembly language program (or even using the debug.exe application) and the program will break at that point. Fortunately, all we have to do is hit F9 and the mechanics are handled for us.
Adding a breakpoint to a line of code causes an application running in the IDE to stop at that line. The presence of a breakpoint is indicated by a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access