| Index: src/debug/debug.js
|
| diff --git a/src/debug/debug.js b/src/debug/debug.js
|
| index b79d691876ef17231639c9614235e2fb0cac3bd9..41f2771a620dfe6dd8e8a3f17f8875dbcda68133 100644
|
| --- a/src/debug/debug.js
|
| +++ b/src/debug/debug.js
|
| @@ -254,20 +254,6 @@ function ScriptBreakPoint(type, script_id_or_name, opt_line, opt_column,
|
| }
|
|
|
|
|
| -// Creates a clone of script breakpoint that is linked to another script.
|
| -ScriptBreakPoint.prototype.cloneForOtherScript = function (other_script) {
|
| - var copy = new ScriptBreakPoint(Debug.ScriptBreakPointType.ScriptId,
|
| - other_script.id, this.line_, this.column_, this.groupId_,
|
| - this.position_alignment_);
|
| - copy.number_ = next_break_point_number++;
|
| - script_break_points.push(copy);
|
| -
|
| - copy.active_ = this.active_;
|
| - copy.condition_ = this.condition_;
|
| - return copy;
|
| -};
|
| -
|
| -
|
| ScriptBreakPoint.prototype.number = function() {
|
| return this.number_;
|
| };
|
| @@ -433,31 +419,6 @@ ScriptBreakPoint.prototype.clear = function () {
|
| };
|
|
|
|
|
| -// Function called from runtime when a new script is compiled to set any script
|
| -// break points set in this script.
|
| -function UpdateScriptBreakPoints(script) {
|
| - for (var i = 0; i < script_break_points.length; i++) {
|
| - var break_point = script_break_points[i];
|
| - if ((break_point.type() == Debug.ScriptBreakPointType.ScriptName ||
|
| - break_point.type() == Debug.ScriptBreakPointType.ScriptRegExp) &&
|
| - break_point.matchesScript(script)) {
|
| - break_point.set(script);
|
| - }
|
| - }
|
| -}
|
| -
|
| -
|
| -function GetScriptBreakPoints(script) {
|
| - var result = [];
|
| - for (var i = 0; i < script_break_points.length; i++) {
|
| - if (script_break_points[i].matchesScript(script)) {
|
| - result.push(script_break_points[i]);
|
| - }
|
| - }
|
| - return result;
|
| -}
|
| -
|
| -
|
| Debug.setListener = function(listener, opt_data) {
|
| if (!IS_FUNCTION(listener) && !IS_UNDEFINED(listener) && !IS_NULL(listener)) {
|
| throw %make_type_error(kDebuggerType);
|
| @@ -2462,12 +2423,6 @@ utils.InstallFunctions(utils, DONT_ENUM, [
|
| "MakeCompileEvent", MakeCompileEvent,
|
| "MakeAsyncTaskEvent", MakeAsyncTaskEvent,
|
| "IsBreakPointTriggered", IsBreakPointTriggered,
|
| - "UpdateScriptBreakPoints", UpdateScriptBreakPoints,
|
| ]);
|
|
|
| -// Export to liveedit.js
|
| -utils.Export(function(to) {
|
| - to.GetScriptBreakPoints = GetScriptBreakPoints;
|
| -});
|
| -
|
| })
|
|
|