Status: New
Owner: ----
New issue 724 by fabian.jakobs: Debugger: scriptCollected event always
returns with "running=true"
http://code.google.com/p/v8/issues/detail?id=724
I'm using the V8 remote debugger protocol and it seems like
the "scriptCollected" event always
returns with the "running" flag set to true regardless if V8 is running or
not.
The problematic code is at src/debug-debugger.js line 1097
http://code.google.com/p/v8/source/browse/branches/bleeding_edge/src/debug-
debugger.js#1097
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();
}
To me this should be
o.running = this.running_;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev