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

Unified Diff: tests/standalone/debugger/basic_debugger_test.dart

Issue 15000005: Allow breakpoints on one-liner functions (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: tests/standalone/debugger/basic_debugger_test.dart
===================================================================
--- tests/standalone/debugger/basic_debugger_test.dart (revision 22755)
+++ tests/standalone/debugger/basic_debugger_test.dart (working copy)
@@ -15,6 +15,8 @@
print(x);
}
+bam(a) => bar(a);
+
foo(i) {
bar("baz");
print(i);
@@ -24,6 +26,7 @@
if (RunScript(testScript)) return;
print("Hello from debuggee");
foo(42);
+ bam("bam");
print("Hello again");
}
@@ -37,5 +40,10 @@
Resume(),
MatchFrames(["bar", "foo", "main"]),
MatchFrame(1, "foo"),
+ SetBreakpoint(18), // Set breakpoint a line 18, in function bam.
Resume(),
+ MatchFrames(["bam", "main"]),
+ Resume(),
+ MatchFrames(["bar", "bam", "main"]),
+ Resume(),
];
« 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