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

Unified Diff: runtime/vm/debugger.h

Issue 11780005: Allow optimized code when debugger is active (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/compiler.cc ('k') | 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
===================================================================
--- runtime/vm/debugger.h (revision 16810)
+++ runtime/vm/debugger.h (working copy)
@@ -236,7 +236,6 @@
void Initialize(Isolate* isolate);
void Shutdown();
- bool IsActive();
void NotifyCompilation(const Function& func);
@@ -264,6 +263,10 @@
// Called from Runtime when a breakpoint in Dart code is reached.
void BreakpointCallback();
+ // Returns true if there is at least one breakpoint set in func.
+ // Checks for both user-defined and internal temporary breakpoints.
+ bool HasBreakpoint(const Function& func);
+
DebuggerStackTrace* StackTrace() const { return stack_trace_; }
RawArray* GetInstanceFields(const Instance& obj);
@@ -301,7 +304,7 @@
kStepOut
};
- void EnsureFunctionIsDeoptimized(const Function& func);
+ void DeoptimizeWorld();
void InstrumentForStepping(const Function& target_function);
SourceBreakpoint* SetBreakpoint(const Function& target_function,
intptr_t first_token_pos,
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698