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

Unified Diff: runtime/vm/debugger.h

Issue 2904793002: Allow setting breakpoints in literal function initializers of fields. (Closed)
Patch Set: Address comments on patch set 3. 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
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 6f4bd40e13a053580836c3c60d9099f96908412e..d7e571e3d3c911e3ab4ec4894c1a09c61cd8c5b3 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -631,7 +631,10 @@ class Debugger {
TokenPosition start_pos,
TokenPosition end_pos,
GrowableObjectArray* function_list);
- RawFunction* FindBestFit(const Script& script, TokenPosition token_pos);
+ bool FindBestFit(const Script& script,
+ TokenPosition token_pos,
+ TokenPosition last_token_pos,
+ Function* best_fit);
RawFunction* FindInnermostClosure(const Function& function,
TokenPosition token_pos);
TokenPosition ResolveBreakpointPos(const Function& func,
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698