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

Side by Side Diff: runtime/vm/debugger.h

Issue 11926026: Add function for one-time stop at function entry (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "include/dart_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 void NotifyCompilation(const Function& func); 243 void NotifyCompilation(const Function& func);
244 244
245 RawFunction* ResolveFunction(const Library& library, 245 RawFunction* ResolveFunction(const Library& library,
246 const String& class_name, 246 const String& class_name,
247 const String& function_name); 247 const String& function_name);
248 248
249 // Set breakpoint at closest location to function entry. 249 // Set breakpoint at closest location to function entry.
250 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function); 250 SourceBreakpoint* SetBreakpointAtEntry(const Function& target_function);
251 SourceBreakpoint* SetBreakpointAtLine(const String& script_url, 251 SourceBreakpoint* SetBreakpointAtLine(const String& script_url,
252 intptr_t line_number); 252 intptr_t line_number);
253 void OneTimeBreakAtEntry(const Function& target_function);
253 254
254 void RemoveBreakpoint(intptr_t bp_id); 255 void RemoveBreakpoint(intptr_t bp_id);
255 SourceBreakpoint* GetBreakpointById(intptr_t id); 256 SourceBreakpoint* GetBreakpointById(intptr_t id);
256 257
257 void SetStepOver() { resume_action_ = kStepOver; } 258 void SetStepOver() { resume_action_ = kStepOver; }
258 void SetStepInto() { resume_action_ = kStepInto; } 259 void SetStepInto() { resume_action_ = kStepInto; }
259 void SetStepOut() { resume_action_ = kStepOut; } 260 void SetStepOut() { resume_action_ = kStepOut; }
260 261
261 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info); 262 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info);
262 Dart_ExceptionPauseInfo GetExceptionPauseInfo(); 263 Dart_ExceptionPauseInfo GetExceptionPauseInfo();
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 static EventHandler* event_handler_; 376 static EventHandler* event_handler_;
376 377
377 friend class SourceBreakpoint; 378 friend class SourceBreakpoint;
378 DISALLOW_COPY_AND_ASSIGN(Debugger); 379 DISALLOW_COPY_AND_ASSIGN(Debugger);
379 }; 380 };
380 381
381 382
382 } // namespace dart 383 } // namespace dart
383 384
384 #endif // VM_DEBUGGER_H_ 385 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698