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

Unified Diff: runtime/vm/debugger_test.cc

Issue 2912763005: Hit breakpoints in single line closures. (Closed)
Patch Set: Created 3 years, 7 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
« runtime/vm/debugger.cc ('K') | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_test.cc
diff --git a/runtime/vm/debugger_test.cc b/runtime/vm/debugger_test.cc
index f9376e1f8af6d0dfc5fbaa09631b6d338d596f3e..fd3d4effac65bc2f2c8231630d0c40080095753f 100644
--- a/runtime/vm/debugger_test.cc
+++ b/runtime/vm/debugger_test.cc
@@ -141,10 +141,7 @@ TEST_CASE(Debugger_SetBreakpointInFunctionLiteralFieldInitializers) {
Dart_SetPausedEventHandler(PausedInClosuresHandler);
result = Dart_Invoke(lib, NewString("main"), 0, NULL);
EXPECT_VALID(result);
- // TODO(sivachandra): Understand why a breakpoint on a single line
- // functional literal is not being hit. When that issue is resolved,
- // adjust this test to check hitting the breakpoint at line 19 also.
- EXPECT(closure_hit_count == 3);
+ EXPECT(closure_hit_count == 4);
}
TEST_CASE(Debugger_RemoveBreakpoint) {
« runtime/vm/debugger.cc ('K') | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698