Index: src/mirror-debugger.js |
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js |
index c7f0dccb7b1867b54e6aab592288d1ddd517cc36..fb04cef28aea1789f7a83fe583625a0d864677e3 100644 |
--- a/src/mirror-debugger.js |
+++ b/src/mirror-debugger.js |
@@ -1750,6 +1750,15 @@ FrameMirror.prototype.localsText = function() { |
}; |
+FrameMirror.prototype.restart = function() { |
+ var result = %LiveEditRestartFrame(this.break_id_, this.index_); |
+ if (result === void 0) { |
Yang
2012/06/14 09:09:28
I think using the IS_UNDEFINED macro is nicer.
Peter Rybin
2012/06/14 22:08:03
Done.
|
+ result = "Failed to find requested frame"; |
+ } |
+ return result; |
+}; |
+ |
+ |
FrameMirror.prototype.toText = function(opt_locals) { |
var result = ''; |
result += '#' + (this.index() <= 9 ? '0' : '') + this.index(); |