Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 90c6e5053c64ae067be6d8026aa76d2d03ee56a9..d6a0c8c2557eb18534f7460267123756cfa7397a 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -22,8 +22,7 @@ RUNTIME_FUNCTION(Runtime_DebugBreak) { |
// Get the top-most JavaScript frame. |
JavaScriptFrameIterator it(isolate); |
isolate->debug()->Break(args, it.frame()); |
- isolate->debug()->SetAfterBreakTarget(it.frame()); |
- return isolate->heap()->undefined_value(); |
+ return isolate->debug()->SetAfterBreakTarget(it.frame()); |
} |