Index: src/debug-debugger.js |
diff --git a/src/debug-debugger.js b/src/debug-debugger.js |
index 6cd1baa61e44bb6af4c8b9b2e481170f5cd8b7ec..5de829221a8392bac8102e2098c10ade132aff2f 100644 |
--- a/src/debug-debugger.js |
+++ b/src/debug-debugger.js |
@@ -19,8 +19,7 @@ Debug.DebugEvent = { Break: 1, |
NewFunction: 3, |
BeforeCompile: 4, |
AfterCompile: 5, |
- ScriptCollected: 6, |
- CompileError: 7 }; |
+ CompileError: 6 }; |
// Types of exceptions that can be broken upon. |
Debug.ExceptionBreak = { Caught : 0, |
@@ -1183,31 +1182,6 @@ CompileEvent.prototype.toJSONProtocol = function() { |
}; |
-function MakeScriptCollectedEvent(id) { |
- return new ScriptCollectedEvent(id); |
-} |
- |
- |
-function ScriptCollectedEvent(id) { |
- this.id_ = id; |
-} |
- |
- |
-ScriptCollectedEvent.prototype.id = function() { |
- return this.id_; |
-}; |
- |
- |
-ScriptCollectedEvent.prototype.toJSONProtocol = function() { |
- var o = new ProtocolMessage(); |
- o.running = true; |
- o.event = "scriptCollected"; |
- o.body = {}; |
- o.body.script = { id: this.id() }; |
- return o.toJSONProtocol(); |
-}; |
- |
- |
function MakeScriptObject_(script, include_source) { |
var o = { id: script.id(), |
name: script.name(), |