[wingide-users] Selective exception handling

Toni Ruža gmr.gaf at gmail.com
Tue Oct 24 10:03:42 MDT 2006


On 10/24/06, Tony Cappellini <cappy2112 at gmail.com> wrote:
>
> Would it be possible to modify Wing (without hurting performance) so that
> the "Always Report if unhandled" option could be qualified by the exception
> type?
>
> For example, If an app is throwing exceptions A,B,C,G,X,Y , but I'm only
> interested in debugging exceptions A,D,G

a simple trick would be to ignore exception reports completely and put
breakpoints in the exception blocks you wish to debug.

if you don't have the exception blocks (ie. you don't handle them),
wrap your entire app in a temporary try except except ...


More information about the wingide-users mailing list