Reviewers: Søren Gjesse,

Message:
Hi Søren

I'd like to support "suspend" command when in Debug::ProcessDebugMessages, i.e.
when stack is empty.
It seems that I only need to disable one error dianostic.

Peter

Description:
Support backtrace debug command when stack is empty

Please review this at http://codereview.chromium.org/536089

Affected files:
  M src/debug-delay.js


Index: src/debug-delay.js
diff --git a/src/debug-delay.js b/src/debug-delay.js
index 04fde1f99006b389e914cbb1fc27d9410bf779ef..4c9f0226f84da41f272a1f49a88aae0426bb9209 100644
--- a/src/debug-delay.js
+++ b/src/debug-delay.js
@@ -1597,11 +1597,6 @@ DebugCommandProcessor.prototype.backtracec = function(cmd, args) {


DebugCommandProcessor.prototype.frameRequest_ = function(request, response) {
-  // No frames no source.
-  if (this.exec_state_.frameCount() == 0) {
-    return response.failed('No frames');
-  }
-
   // With no arguments just keep the selected frame.
   if (request.arguments) {
     var index = request.arguments.number;


-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to