user001
user001

Reputation: 444

debug settings in vc++ 2005

While debugging following VC++ simple code,

for ( int i = 0; i < 100; i++ ) 
{
    // do something
}

I want breakpoint should hit the loop when "i = 50". Where are the setting for this in vc++ 2005 IDE?

Upvotes: 0

Views: 62

Answers (1)

DixonD
DixonD

Reputation: 6638

You can set breakpoint as usual and then use "Condition..." menu item in breakpoint context menu (click with right mouse button on breakpoint circle)

Upvotes: 2

Related Questions