Jumping over a While loop in Debug mode

Posted by BDotA on Stack Overflow See other posts from Stack Overflow or by BDotA
Published on 2010-05-17T13:33:39Z Indexed on 2010/05/17 13:40 UTC
Read the original article Hit count: 125

Filed under:
|
|

Here is the scenario: I put a break point at the beginning of a method that I want to debug... at first lets say there is Part1 in this method that I want to step into/over some of the codes... good... after that there is a While loop that I am NOT interested to step into/over it, I just want to tell the debugger that Hey you yourself run this loop for 10 times and just let me move to Part2 of my code which starts after this While loop , is it possible to do this with debugging options?

so something like this :

BreakPoint : MyMethod
{
Part One of the code : Ok, lets debug it

While Loop : I do not care, Do not want to debug it

Part Two of the code: Yes, I want to debug it too 
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about debugging