"Step out of loop" in debugger
Answered
When debugging, I frequently find myself in a loop, and I want to finish the loop and continue debugging that method.
The only way to do that is to set a break point outside the loop, or position the cursor outside the loop and do "run until cursor".
I think it would be good if there were a feature for stepping out of a loop and continuing in that method. It would be similar to "step out of method" except instead of bringing you outside the method, it would just bring you outside this loop, in the same method.
Please sign in to leave a comment.
+1
Where is the JIRA issue to vote for?
Tom
+1
Post it here, I want that bad :/
Mmmmm, +1
--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
+1
Nice idea! I've found myself wanting this as well. Posted to JIRA:
http://www.jetbrains.net/jira/browse/IDEA-2304
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001
In this case, during a debug session, I place my cursor just right out of the loop, and select Run > Run to Cursor (Alt + F9) - now you are out of the loop.
@Quazi thanks for sharing Run to Cursor method. Handy indeed