Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

conditional breakpoint

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am having trouble to set a conditional breakpoint in vc++. Can someone tell me if there are some rules have to follow. I keep getting "Cannot set the breakpoint at(...........)"

thanks.
 
Please read the article:
"PRB: Conditional Breakpoints Cannot Always Be Set"
from MSDN

Hope this helps,
s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
for(int i=0;i<100;i++)
{
i++;//this line
i--;
}

a short sample:
put the cursor on &quot;this line&quot; in the code above.
Press crtl+b. VisualC++ will open a box. Choose tab Location. In the BreakAt: click on the black triangle and choose the line number suggered. Click on the button condition and write i==50. Compille and press F5. The execution will stor on the breakpoint when equals to 50. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top