September 2008
Intermediate to advanced
280 pages
6h 31m
English
Each breakpoint has various attributes—its line number, the condition imposed on it (if any), its current enabled/disabled status, and so on. We showed in Keeping Track of Breakpoints a bit about keeping track of these attributes, and now we'll go into more detail.
As you saw in Breakpoint Lists in GDB, each breakpoint you create is assigned a unique integer identifier. The first breakpoint you set is assigned to '1', and each new breakpoint thereafter is assigned an integer one greater than the previously assigned identifier. Each breakpoint also has a number of attributes that control and fine-tune its behavior. Using the unique identifiers, you can adjust the attributes of each breakpoint individually. ...