I have Visual C++ 2008 Express. For a long time, I've been wondering how I can skip over loops (while and for loops) without skipping to the end of that function. What do I mean? Here's a quick example:
Any ideas how this can be done? There is Shift+F11 for "step out", but this causes everything after this function to be skipped and I can't have that. Holding the F10 key down for hours is not worth it for such long loops. F11 seems to have the same properties as F11, except that you can go into a function (doesn't always happen due to the annoying "no source code" error that comes up, even for my own functions). Any ideas on how to skip the loop without skipping the rest of the function?Code:void TestFunction() { // locals // stuff I want to test beforehand - I need to test this for (LongLoop = 0; LongLoop < 65536; LongLoop++) { // lots of stuff to do - holding F10 for hours is not worth it } // aftermath stuff I must check as well - I must skip the loop to do it }