Project Builder stops at a conditional breakpoint only if the breakpoint's condition is true.
To attach a condition to a breakpoint:
condition <bp-id> <cond>
at
the GDB prompt.<bp-id>
is
the breakpoint's ID number, which you can find in the breakpoint
list. <cond>
is
a valid boolean expression in the language you're debugging. condition 3 (ptr==nil)
stops
at the breakpoint number 3 only if ptr
is nil
.Note that while Project Builder saves your breakpoints between debugging sessions, it does not save ignore information or anything else enter at the GDB command-line.