From c56b22c72ae70974296b87af60cad7dab7d8c6d6 Mon Sep 17 00:00:00 2001 From: "yurys@chromium.org" Date: Mon, 27 Apr 2009 12:38:20 +0000 Subject: [PATCH] 1. Send 'afterCompile' event to the debug message handler.2. Process messages from the debugger command queue on each event not only break and exception.3. auto_continue is always true for compilation events. Review URL: http://codereview.chromium.org/100034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1801 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/debug-delay.js | 1 + src/debug.cc | 43 +++++++++++++++++++++---------------------- test/cctest/test-debug.cc | 32 ++++++++++++++++++++++++++------ 3 files changed, 48 insertions(+), 28 deletions(-) diff --git a/src/debug-delay.js b/src/debug-delay.js index 961f304..4a8663b 100644 --- a/src/debug-delay.js +++ b/src/debug-delay.js @@ -977,6 +977,7 @@ CompileEvent.prototype.script = function() { CompileEvent.prototype.toJSONProtocol = function() { var o = new ProtocolMessage(); + o.running = true; if (this.before_) { o.event = "beforeCompile"; } else { diff --git a/src/debug.cc b/src/debug.cc index 239a373..441a38e 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -1612,7 +1612,7 @@ void Debugger::OnBeforeCompile(Handle