|
|
|
|
|
Re: Watch expression in C/C++ Project is possible?? [message #819796 is a reply to message #819245] |
Tue, 13 March 2012 10:38 |
Axel Mueller Messages: 1973 Registered: July 2009 |
Senior Member |
|
|
Carlos Solano wrote on Mon, 12 March 2012 18:10Sorry for my bad explanation.
I want see if a condition sentence is true or false (in the debugger at run time, obviously!).
New example:
int i;
cin << i;
if(i == 5) // I want see if this condition return true or false at runtime.
{
cout << "This is the number secret!! :)"
}
else
{
cout << "Sorry, try again! :("
}
So you want a conditional breakpoint? Set a breakpoint and then open the context menu of the breakpoint (right click on the blue circle) and choose "Breakpoint properties..."
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
|
|
|
Powered by
FUDForum. Page generated in 0.02957 seconds