ilyaz
asked on
Can I instruct the debugger to skip a statement
I have an ASSERT statement in my C++ code that I want to skip when executing my program in the debug mode in C++ .NET. For various reasons, recompiling the code is not an option so I can't just comment out the statement and rebuild.
Thanks.
Thanks.
ASKER
To jaime_olivares: I can't touch the code. Are there settings in the debugger, sort of like a breakpoint only a "skip point"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Definately no 'Skip Point' or anything similiar. The debugger only sits in the sidelines and watches the program execute. It can choose what to watch, and call a timeout, but it can't change the outcome of the game (or decide to skip a play) :p
My answer to the original question is: NO
ASSERT(...etcetera..);
#endif