Would it be possible to set the debugger to break on any exception? This would be a big timesaver.
What about breaking on 'flash.debugger.enterDebugger'?
Sun Apr 29, 2012 12:09 pm
mrpinc
Member
Joined: Tue Jun 30, 2009 8:06 pm Posts: 77
Re: Debugger break on exception
Debugger does break on exception for me.
Sun Apr 29, 2012 6:49 pm
adept
Member
Joined: Sun Mar 23, 2008 2:28 am Posts: 147
Re: Debugger break on exception
I see, it breaks only on unhandled exceptions, outside any try..catch handler. But if you are using try..catch to surround all your code, the only way to get a breakpoint via code is to re-throw inside your final catch(), which gives you no stack trace or local vars for the scope where the original exception happened. I would like a setting for a breakpoint on ANY exception.
Alternately, if we had a breakpoint via code, I could put one in every catch() handler when in debug mode.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum