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

Unified Diff: runtime/vm/debugger.cc

Issue 10665009: Fix parent function of deeply nested closures (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « no previous file | runtime/vm/parser.h » ('j') | runtime/vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.cc
===================================================================
--- runtime/vm/debugger.cc (revision 9036)
+++ runtime/vm/debugger.cc (working copy)
@@ -879,10 +879,9 @@
bpt = new SourceBreakpoint(nextId(), target_function, token_index);
RegisterSourceBreakpoint(bpt);
if (verbose && !target_function.HasCode()) {
- OS::Print("Registering breakpoint for uncompiled function '%s'"
- " (%s:%d)\n",
- String::Handle(target_function.name()).ToCString(),
- String::Handle(bpt->SourceUrl()).ToCString(),
+ OS::Print("Registering breakpoint for "
+ "uncompiled function '%s' at line %d\n",
+ target_function.ToFullyQualifiedCString(),
bpt->LineNumber());
}
@@ -1338,7 +1337,7 @@
if (!closure.IsNull() && (closure.raw() != lookup_function.raw())) {
if (verbose) {
OS::Print("Resetting pending breakpoint to function %s\n",
- String::Handle(closure.name()).ToCString());
+ closure.ToFullyQualifiedCString());
}
bpt->set_function(closure);
} else {
« no previous file with comments | « no previous file | runtime/vm/parser.h » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698