Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lphilpot on December 30, 2009, 11:40:20 pm

Title: Is it possible to set conditional breakpoints (debugging)?
Post by: lphilpot on December 30, 2009, 11:40:20 pm
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!
Title: Re: Is it possible to set conditional breakpoints (debugging)?
Post by: oBFusCATed on December 31, 2009, 02:36:55 am
Yes, you can -> right click on the red dot, then edit breakpoint
Title: Re: Is it possible to set conditional breakpoints (debugging)?
Post by: lphilpot on December 31, 2009, 04:03:33 am
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!   :)