Index: Source/devtools/front_end/DebuggerModel.js |
diff --git a/Source/devtools/front_end/DebuggerModel.js b/Source/devtools/front_end/DebuggerModel.js |
index 35aceea981833c6ab3b45b651641aca8d6efa027..68423125cfd4eedc4aee33ef83d1633557555314 100644 |
--- a/Source/devtools/front_end/DebuggerModel.js |
+++ b/Source/devtools/front_end/DebuggerModel.js |
@@ -55,7 +55,9 @@ WebInspector.DebuggerModel = function(target) |
this.enableDebugger(); |
- this.applySkipStackFrameSettings(); |
+ WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._applySkipStackFrameSettings, this); |
+ WebInspector.settings.skipStackFramesPattern.addChangeListener(this._applySkipStackFrameSettings, this); |
+ this._applySkipStackFrameSettings(); |
} |
/** |
@@ -689,7 +691,7 @@ WebInspector.DebuggerModel.prototype = { |
this._pausedScript(newCallFrames, this._debuggerPausedDetails.reason, this._debuggerPausedDetails.auxData, this._debuggerPausedDetails.breakpointIds, asyncStackTrace); |
}, |
- applySkipStackFrameSettings: function() |
+ _applySkipStackFrameSettings: function() |
{ |
if (!WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled()) |
return; |