Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: test/mjsunit/debug-return-value.js

Issue 2883042: Breakpoint position should be inside function body. (Closed)
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/full-codegen.cc ('K') | « test/mjsunit/debug-conditional-breakpoints.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-return-value.js
diff --git a/test/mjsunit/debug-return-value.js b/test/mjsunit/debug-return-value.js
index a9ac5204829a9eb477660c9b9d146fe5bb632ae2..3982ea91b3817791f0ffe78e651815a8d7a3708e 100644
--- a/test/mjsunit/debug-return-value.js
+++ b/test/mjsunit/debug-return-value.js
@@ -101,7 +101,7 @@ function listener(event, exec_state, event_data, data) {
exec_state.prepareStep(Debug.StepAction.StepIn, 1);
} else {
// Position at the end of the function.
- assertEquals(debugger_source_position + 51,
+ assertEquals(debugger_source_position + 50,
exec_state.frame(0).sourcePosition());
// Just about to return from the function.
« src/full-codegen.cc ('K') | « test/mjsunit/debug-conditional-breakpoints.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698