Bug 906963 - Add a "ignore caught exceptions" checkbox to the UI; r=dcamp
This commit is contained in:
@@ -384,7 +384,8 @@ ThreadState.prototype = {
|
||||
dumpn("ThreadState is connecting...");
|
||||
this.activeThread.addListener("paused", this._update);
|
||||
this.activeThread.addListener("resumed", this._update);
|
||||
this.activeThread.pauseOnExceptions(Prefs.pauseOnExceptions);
|
||||
this.activeThread.pauseOnExceptions(Prefs.pauseOnExceptions,
|
||||
Prefs.ignoreCaughtExceptions);
|
||||
this._handleTabNavigation();
|
||||
},
|
||||
|
||||
@@ -1557,6 +1558,7 @@ let Prefs = new ViewHelpers.Prefs("devtools.debugger", {
|
||||
variablesOnlyEnumVisible: ["Bool", "ui.variables-only-enum-visible"],
|
||||
variablesSearchboxVisible: ["Bool", "ui.variables-searchbox-visible"],
|
||||
pauseOnExceptions: ["Bool", "pause-on-exceptions"],
|
||||
ignoreCaughtExceptions: ["Bool", "ignore-caught-exceptions"],
|
||||
sourceMapsEnabled: ["Bool", "source-maps-enabled"]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user