| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_DEBUGGER_H_ | 5 #ifndef VM_DEBUGGER_H_ |
| 6 #define VM_DEBUGGER_H_ | 6 #define VM_DEBUGGER_H_ |
| 7 | 7 |
| 8 #include "vm/object.h" | 8 #include "vm/object.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 const String& field_name); | 229 const String& field_name); |
| 230 | 230 |
| 231 private: | 231 private: |
| 232 enum ResumeAction { | 232 enum ResumeAction { |
| 233 kContinue, | 233 kContinue, |
| 234 kStepOver, | 234 kStepOver, |
| 235 kStepInto, | 235 kStepInto, |
| 236 kStepOut | 236 kStepOut |
| 237 }; | 237 }; |
| 238 | 238 |
| 239 void InstrumentForStepping(const Function &target_function); | 239 void EnsureFunctionIsDeoptimized(const Function& func); |
| 240 void InstrumentForStepping(const Function& target_function); |
| 240 SourceBreakpoint* SetBreakpoint(const Function& target_function, | 241 SourceBreakpoint* SetBreakpoint(const Function& target_function, |
| 241 intptr_t token_index); | 242 intptr_t token_index); |
| 242 void RemoveInternalBreakpoints(); | 243 void RemoveInternalBreakpoints(); |
| 243 void RemoveCodeBreakpoints(SourceBreakpoint* src_bpt); | 244 void RemoveCodeBreakpoints(SourceBreakpoint* src_bpt); |
| 244 void RegisterSourceBreakpoint(SourceBreakpoint* bpt); | 245 void RegisterSourceBreakpoint(SourceBreakpoint* bpt); |
| 245 void RegisterCodeBreakpoint(CodeBreakpoint* bpt); | 246 void RegisterCodeBreakpoint(CodeBreakpoint* bpt); |
| 246 SourceBreakpoint* GetSourceBreakpoint(const Function& func, | 247 SourceBreakpoint* GetSourceBreakpoint(const Function& func, |
| 247 intptr_t token_index); | 248 intptr_t token_index); |
| 248 CodeBreakpoint* MakeCodeBreakpoint(const Function& func, | 249 CodeBreakpoint* MakeCodeBreakpoint(const Function& func, |
| 249 intptr_t token_index); | 250 intptr_t token_index); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 268 bool ignore_breakpoints_; | 269 bool ignore_breakpoints_; |
| 269 | 270 |
| 270 friend class SourceBreakpoint; | 271 friend class SourceBreakpoint; |
| 271 DISALLOW_COPY_AND_ASSIGN(Debugger); | 272 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 272 }; | 273 }; |
| 273 | 274 |
| 274 | 275 |
| 275 } // namespace dart | 276 } // namespace dart |
| 276 | 277 |
| 277 #endif // VM_DEBUGGER_H_ | 278 #endif // VM_DEBUGGER_H_ |
| OLD | NEW |