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

Unified Diff: runtime/vm/debugger.h

Issue 10540121: Add API to configure debugger pause on exception (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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/include/dart_debugger_api.h ('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 8556)
+++ runtime/vm/debugger.h (working copy)
@@ -5,6 +5,8 @@
#ifndef VM_DEBUGGER_H_
#define VM_DEBUGGER_H_
+#include "include/dart_debugger_api.h"
+
#include "vm/object.h"
namespace dart {
@@ -232,6 +234,8 @@
void SetStepInto() { resume_action_ = kStepInto; }
void SetStepOut() { resume_action_ = kStepOut; }
+ void SetExceptionPauseInfo(Dart_ExceptionPauseInfo pause_info);
+
void VisitObjectPointers(ObjectPointerVisitor* visitor);
// Called from Runtime when a breakpoint in Dart code is reached.
@@ -323,9 +327,7 @@
// be run as a side effect of getting values of fields.
bool ignore_breakpoints_;
- // If true, notify debug client when (unhandled) exception is thrown.
- bool pause_on_exception_;
- bool pause_on_unhandled_exception_;
+ intptr_t exc_pause_info_;
friend class SourceBreakpoint;
DISALLOW_COPY_AND_ASSIGN(Debugger);
« 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