Index: src/mirror-debugger.js |
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js |
index c7f0dccb7b1867b54e6aab592288d1ddd517cc36..f71483a664e6a5ec438ffc9fbe4b5566ce9c4348 100644 |
--- a/src/mirror-debugger.js |
+++ b/src/mirror-debugger.js |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
+// Copyright 2006-2012 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -1750,6 +1750,15 @@ FrameMirror.prototype.localsText = function() { |
}; |
+FrameMirror.prototype.restart = function() { |
+ var result = %LiveEditRestartFrame(this.break_id_, this.index_); |
+ if (IS_UNDEFINED(result)) { |
+ result = "Failed to find requested frame"; |
+ } |
+ return result; |
+}; |
+ |
+ |
FrameMirror.prototype.toText = function(opt_locals) { |
var result = ''; |
result += '#' + (this.index() <= 9 ? '0' : '') + this.index(); |