Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT2.1: How do I set conditional breakpoints ?

> Hello,
> I'm using the CDT 2.1 and I would like to know how to use the 
> "Condition" field in "Properties for C/C++ Breakpoints" ?
> What is the syntax supported for this option ? Any sample ?

An expression that can be evaluated:

few points:
 - will not recommanded that you put function calls "func()==3"
   it can confuse the backend(especially gdb)
 - if you use strings they are malloc(3):

Back to the top