Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index b0a6892bb572a9bec9904fb999856dd06fe1e516..b132243a09379760d2a374677a54cc844a26bd50 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -793,13 +793,17 @@ class Debugger { |
MUST_USE_RESULT MaybeHandle<Object> MakeBreakEvent( |
Handle<Object> break_points_hit); |
MUST_USE_RESULT MaybeHandle<Object> MakeExceptionEvent( |
- Handle<Object> exception, bool uncaught); |
+ Handle<Object> exception, |
+ bool uncaught, |
+ Handle<Object> promise); |
MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( |
Handle<Script> script, bool before); |
MUST_USE_RESULT MaybeHandle<Object> MakeScriptCollectedEvent(int id); |
void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); |
- void OnException(Handle<Object> exception, bool uncaught); |
+ void OnException(Handle<Object> exception, |
+ bool uncaught, |
+ Handle<Object> promise = Handle<Object>::null()); |
void OnBeforeCompile(Handle<Script> script); |
enum AfterCompileFlags { |