Index: src/debug-delay.js |
=================================================================== |
--- src/debug-delay.js (revision 1268) |
+++ src/debug-delay.js (working copy) |
@@ -1421,6 +1421,11 @@ |
disable_break = true; |
} |
+ // No frames no evaluate in frame. |
+ if (this.exec_state_.frameCount() == 0) { |
+ return response.failed('No frames'); |
+ } |
+ |
// Check whether a frame was specified. |
if (!IS_UNDEFINED(frame)) { |
var frame_number = %ToNumber(frame); |