Xdebug & Exceptions

Hey all,

Got a few questions about the way phpstorm handles exception with xdebug. Been looking around all over but haven't been able to figure these things out:

1) Is there any way to setup an exception breakpoint that will catch ANY exception? Looks like javascript has a way, but not PHP.

2) Is there a simple way to catch only uncaught exceptions?

3) I've also noticed if I have a breakpoint set for say... a Warning - and I accidently click on the breakpoint on the editor it will remove it from the breakpoint list. This would be expected for line breakpoints - but why is this happening for Exception breakpoints I manually created? Is there an option to disable this? It's incredibly annoying.

1 comment
Comment actions Permalink

2) If you mean "fatal error"(when script is stopped), it's not possible

3) It's not possible either. Feel free to create a feature request on our tracker: http://youtrack.jetbrains.com/issues/WI#newissue=yes .

Please sign in to leave a comment.