News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Is it possible to set conditional breakpoints (debugging)?

Started by lphilpot, December 30, 2009, 11:40:20 PM

Previous topic - Next topic

lphilpot

I've Googled and searched the forums - Found one post asking this question almost a year ago (http://forums.next.codeblocks.org/index.php/topic,10033.0.html), but without a definitive answer, so I'll ask again...

Is it possible to set conditional debugging breakpoints in C::B, i.e., tell it to break if z > y or if x == 12 etc.? I know about watches, etc., but I'm wanting to break on a specified condition.

...or do I need to talk directly to gdb for that? If so, looks like I have ~500 pages of PDF to scan/read...  8)

Thanks!

oBFusCATed

Yes, you can -> right click on the red dot, then edit breakpoint
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

lphilpot

Duhhh....  :?

HOW did I miss that?!?  I've been over it again and again and it just didn't register when I saw it.... wonder what else I've missed...

Thanks!   :)