Add support for filtering exceptions - JS functions for determining how Venkman reacts

NEW
Assigned to

Status

Other Applications
Venkman JS Debugger
10 years ago
10 years ago

People

(Reporter: WeirdAl, Assigned: Robert Ginda)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
Right now, we have three states for error and exception handling:
* Always ignore
* Always trace
* Always break

These are far too rigid.  We should add another option, like Venkman's conditional breakpoints capability, that lets users define a function to determine Venkman's reaction.  We should also provide a few filters users can turn on or off - "ignore NS_ERROR_NO_INTERFACE" for example.
(Reporter)

Comment 1

10 years ago
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/extensions/venkman/resources/content/venkman-debugger.js&rev=1.61&mark=1572,1624#1572

Note to whoever implements this (likely to be me), the crux on whether Venkman breaks on this or not appears to be when debugTrap returns - namely, does it go into the nested loop marked above, or not.
You need to log in before you can comment on or make changes to this bug.