Index: test/mjsunit/debug-evaluate-with-context.js |
diff --git a/test/mjsunit/debug-evaluate-with-context.js b/test/mjsunit/debug-evaluate-with-context.js |
index 5e1c83cf52cf401f615fc06ec45f0feaac125079..fa615ada20b34ac9196745b0aaf21716e61c644e 100644 |
--- a/test/mjsunit/debug-evaluate-with-context.js |
+++ b/test/mjsunit/debug-evaluate-with-context.js |
@@ -32,6 +32,7 @@ Debug = debug.Debug |
var evaluate_callback; |
function listener(event, exec_state, event_data, data) { |
+ if (event !== Debug.DebugEvent.Break) return; |
try { |
var context = { what_is_capybara: "a fish" }; |
var context2 = { what_is_capybara: "a fish", what_is_parrot: "a beard" }; |