I'd expect a debugger to stop at an exception that wasn't handled -  
that's a fatal error.

Shameless self promotion (again) - sfErrorHandlerPlugin wraps the  
entire filter chain (except for itself) inside of a try/catch block,  
so it automatically catches any uncaught exceptions and displays the  
full stack trace :)

If you're using any kind of 3rd party library, it's a handy way to  
insulate your application from bad exception handling in a 3rd party  
library.


On 1 May 2009, at 14:52, David Ashwood wrote:

>
> It varies but generally it was catching all exceptions even if  
> they're not
> handled.
> I've worked with various php debuggers over the years - so it's  
> something I
> test when using a new version or changing the debugging lib used.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected] 
> ]
> On Behalf Of Lee Bolding
> Sent: 01 May 2009 15:29
> To: [email protected]
> Subject: [symfony-users] Re: Best practice for debugging ?
>
>
>
> On 1 May 2009, at 13:07, David Ashwood wrote:
>
>> Generally though I've had problems getting PHP debuggers to ignore
>> certain files (such as code within frameworks when an exception
>> happens).
>
> Is this uncaught exceptions? or do you mean they tend to stop whenever
> an exception is thrown, even if it is caught and dealt with?
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to