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

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

Issue 10928149: Fix for http://code.google.com/p/dart/issues/detail?id=5085 - break-on-exceptions in the debugger c… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 intptr_t line_number); 245 intptr_t line_number);
246 246
247 void RemoveBreakpoint(intptr_t bp_id); 247 void RemoveBreakpoint(intptr_t bp_id);
248 SourceBreakpoint* GetBreakpointById(intptr_t id); 248 SourceBreakpoint* GetBreakpointById(intptr_t id);
249 249
250 void SetStepOver() { resume_action_ = kStepOver; } 250 void SetStepOver() { resume_action_ = kStepOver; }
251 void SetStepInto() { resume_action_ = kStepInto; } 251 void SetStepInto() { resume_action_ = kStepInto; }
252 void SetStepOut() { resume_action_ = kStepOut; } 252 void SetStepOut() { resume_action_ = kStepOut; }
253 253
254 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info); 254 void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info);
255 Dart_ExceptionPauseInfo GetExceptionPauseInfo();
255 256
256 void VisitObjectPointers(ObjectPointerVisitor* visitor); 257 void VisitObjectPointers(ObjectPointerVisitor* visitor);
257 258
258 // Called from Runtime when a breakpoint in Dart code is reached. 259 // Called from Runtime when a breakpoint in Dart code is reached.
259 void BreakpointCallback(); 260 void BreakpointCallback();
260 261
261 DebuggerStackTrace* StackTrace() const { return stack_trace_; } 262 DebuggerStackTrace* StackTrace() const { return stack_trace_; }
262 263
263 RawArray* GetInstanceFields(const Instance& obj); 264 RawArray* GetInstanceFields(const Instance& obj);
264 RawArray* GetStaticFields(const Class& cls); 265 RawArray* GetStaticFields(const Class& cls);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 intptr_t exc_pause_info_; 356 intptr_t exc_pause_info_;
356 357
357 friend class SourceBreakpoint; 358 friend class SourceBreakpoint;
358 DISALLOW_COPY_AND_ASSIGN(Debugger); 359 DISALLOW_COPY_AND_ASSIGN(Debugger);
359 }; 360 };
360 361
361 362
362 } // namespace dart 363 } // namespace dart
363 364
364 #endif // VM_DEBUGGER_H_ 365 #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