Index: src/debug/mirrors.js |
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js |
index 94e45dff8299d27b5aec57937d42c4d328719e95..67c1edc6d670d0f97f298b24e68d752854996ff6 100644 |
--- a/src/debug/mirrors.js |
+++ b/src/debug/mirrors.js |
@@ -1919,11 +1919,12 @@ FrameMirror.prototype.allScopes = function(opt_ignore_nested_scopes) { |
}; |
-FrameMirror.prototype.evaluate = function(source) { |
+FrameMirror.prototype.evaluate = function(source, throw_on_side_effect = false) { |
return MakeMirror(%DebugEvaluate(this.break_id_, |
this.details_.frameId(), |
this.details_.inlinedFrameIndex(), |
- source)); |
+ source, |
+ throw_on_side_effect)); |
}; |