View unanswered posts | View active topics


Reply to topic  [ 3 posts ] 
Debugger break on exception 
Author Message
Member

Joined: Sun Mar 23, 2008 2:28 am
Posts: 147
Post Debugger break on exception
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
Profile WWW
Member

Joined: Tue Jun 30, 2009 8:06 pm
Posts: 77
Post Re: Debugger break on exception
Debugger does break on exception for me.


Sun Apr 29, 2012 6:49 pm
Profile
Member

Joined: Sun Mar 23, 2008 2:28 am
Posts: 147
Post 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.


Wed May 02, 2012 12:34 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

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

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.