Index: Source/devtools/front_end/DebuggerModel.js |
diff --git a/Source/devtools/front_end/DebuggerModel.js b/Source/devtools/front_end/DebuggerModel.js |
index 7de32116cdf7f214bf6b430851a708ac67fff9a4..9808d1b9b54180bb5bd1f8bf5ea020019b9ddcfc 100644 |
--- a/Source/devtools/front_end/DebuggerModel.js |
+++ b/Source/devtools/front_end/DebuggerModel.js |
@@ -304,7 +304,7 @@ WebInspector.DebuggerModel.prototype = { |
{ |
callback(error); |
if (!error && callFrames && callFrames.length) |
- this._pausedScript(callFrames, this._debuggerPausedDetails.reason, this._debuggerPausedDetails.auxData); |
+ this._pausedScript(callFrames, this._debuggerPausedDetails.reason, this._debuggerPausedDetails.auxData, this._debuggerPausedDetails.breakpointIds); |
}, |
/** |
@@ -346,10 +346,11 @@ WebInspector.DebuggerModel.prototype = { |
* @param {Array.<DebuggerAgent.CallFrame>} callFrames |
* @param {string} reason |
* @param {*} auxData |
+ * @param {Array.<string>} breakpointIds |
*/ |
- _pausedScript: function(callFrames, reason, auxData) |
+ _pausedScript: function(callFrames, reason, auxData, breakpointIds) |
{ |
- this._setDebuggerPausedDetails(new WebInspector.DebuggerPausedDetails(this, callFrames, reason, auxData)); |
+ this._setDebuggerPausedDetails(new WebInspector.DebuggerPausedDetails(this, callFrames, reason, auxData, breakpointIds)); |
}, |
_resumedScript: function() |
@@ -613,10 +614,11 @@ WebInspector.DebuggerDispatcher.prototype = { |
* @param {Array.<DebuggerAgent.CallFrame>} callFrames |
* @param {string} reason |
* @param {Object=} auxData |
+ * @param {Array.<string>} breakointsIds |
*/ |
- paused: function(callFrames, reason, auxData) |
+ paused: function(callFrames, reason, auxData, breakointsIds) |
{ |
- this._debuggerModel._pausedScript(callFrames, reason, auxData); |
+ this._debuggerModel._pausedScript(callFrames, reason, auxData, breakointsIds); |
}, |
resumed: function() |
@@ -810,8 +812,9 @@ WebInspector.DebuggerModel.CallFrame.prototype = { |
* @param {Array.<DebuggerAgent.CallFrame>} callFrames |
* @param {string} reason |
* @param {*} auxData |
+ * @param {Array.<string>} breakpointIds |
*/ |
-WebInspector.DebuggerPausedDetails = function(model, callFrames, reason, auxData) |
+WebInspector.DebuggerPausedDetails = function(model, callFrames, reason, auxData, breakpointIds) |
{ |
this.callFrames = []; |
for (var i = 0; i < callFrames.length; ++i) { |
@@ -822,6 +825,7 @@ WebInspector.DebuggerPausedDetails = function(model, callFrames, reason, auxData |
} |
this.reason = reason; |
this.auxData = auxData; |
+ this.breakpointIds = breakpointIds; |
} |
WebInspector.DebuggerPausedDetails.prototype = { |