User forums > Using Code::Blocks

Is it possible to set conditional breakpoints (debugging)?

(1/1)

lphilpot:
I've Googled and searched the forums - Found one post asking this question almost a year ago (http://forums.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

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!   :)

Navigation

[0] Message Index

Go to full version