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

Unified Diff: runtime/vm/debugger.h

Issue 2904793002: Allow setting breakpoints in literal function initializers of fields. (Closed)
Patch Set: Add comments 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') | runtime/vm/debugger.cc » ('J')
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..b03ed34793938538e1ec372cea56beea63b6e61c 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -632,6 +632,9 @@ class Debugger {
TokenPosition end_pos,
GrowableObjectArray* function_list);
RawFunction* FindBestFit(const Script& script, TokenPosition token_pos);
+ bool MatchesLiteralFunctionPos(const Script& script,
+ TokenPosition token_pos,
+ TokenPosition last_token_pos);
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') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698