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

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

Issue 872643008: Fix bug in processing of latent breakpoints (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 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
« no previous file with comments | « 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/deferred_code_test.dart
===================================================================
--- tests/standalone/debugger/deferred_code_test.dart (revision 43659)
+++ tests/standalone/debugger/deferred_code_test.dart (working copy)
@@ -39,6 +39,10 @@
MatchLine(22),
MatchLocals({"loaded": "false"}),
SetBreakpoint(10, url: "deferred_code_lib.dart"),
+ // Regression test: we used to have a bug that hung the debugger when
+ // processing latent brakepoints for urls that have no match.
+ // The BP below will not match any loaded file.
+ SetBreakpoint(10, url: "non_existing_file.dart"),
Resume(),
MatchFrame(0, "stopTheBuck"), // Expect to be stopped in deferred library code.
// MatchLine(10), // Line matching only works for the main script.
« no previous file with comments | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698