Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index 73b8b00ec81bb56a450b3d2c0553788870c17aac..7209b53ad0027bdaa21a882f558bf24ffd6e2ef2 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -425,7 +425,7 @@ |
// Debug event triggers. |
void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); |
- void OnThrow(Handle<Object> exception); |
+ void OnThrow(Handle<Object> exception, bool uncaught); |
void OnPromiseReject(Handle<JSObject> promise, Handle<Object> value); |
void OnCompileError(Handle<Script> script); |
void OnBeforeCompile(Handle<Script> script); |
@@ -595,7 +595,8 @@ |
return break_disabled_ || in_debug_event_listener_; |
} |
- void OnException(Handle<Object> exception, Handle<Object> promise); |
+ void OnException(Handle<Object> exception, bool uncaught, |
+ Handle<Object> promise); |
// Constructors for debug event objects. |
MUST_USE_RESULT MaybeHandle<Object> MakeJSObject( |