#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Posts
    121
    Rep Power
    21

    Need help for debugging in Visual C++ 2010 Express


    Hi
    I have a really long for loop which goes from 0 to 127 (has many other lines of code and multiple other loops, as well as a call to a very long function which I am trying to watch). I want to be able to single step through the first few iterations of the main for loop (0~5~10) then I want the loop to continue by itself to the 100th iteration, after which I want to be able to single step again for a few more iterations. How can I do this?
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,376
    Rep Power
    1871
    conditional breakpoints

    Comments on this post

    • mahaju agrees : Thank you very much
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo