简体   繁体   中英

visual studio express 2012 for web - condition breakpoint

I have visual studio 2012 for web EXPRESS - can I set in loop in debug mode breakpoint and Condition when application should stop? For example I have loop:

for (int i = 0; i <= 6000; i++)
{
    //...........
}

I would like to see what is wrong when i = 3000, how can I do that?

EDIT:

I don't have under breakpoint option 'Condition':

在此输入图像描述

Set the breakpoint as normal (via right-click or F9) then right-click the red dot in the editor margin, click "Condition", and enter i == 3000 .

Edit : It seems that VS Express 2012 for Web doesn't have this feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM