| Index: src/debug/debug.h
|
| diff --git a/src/debug/debug.h b/src/debug/debug.h
|
| index 19f89a0e2743a383e0efdf6e2c94e389a1f0647c..e2d5cff56fa642795c2476840ff477c394ad1dda 100644
|
| --- a/src/debug/debug.h
|
| +++ b/src/debug/debug.h
|
| @@ -351,7 +351,7 @@ class Debug {
|
| // Support for LiveEdit
|
| void ScheduleFrameRestart(StackFrame* frame);
|
|
|
| - bool IsFrameBlackboxed(JavaScriptFrame* frame);
|
| + bool HasNonBlackboxedFrameOnStack();
|
|
|
| // Threading support.
|
| char* ArchiveDebug(char* to);
|
| @@ -487,6 +487,9 @@ class Debug {
|
| // Clear all one-shot instrumentations, but restore break points.
|
| void ClearOneShot();
|
|
|
| + bool HasPromiseBuiltinOnStack();
|
| + bool IsFrameBlackboxed(JavaScriptFrame* frame);
|
| +
|
| void ActivateStepOut(StackFrame* frame);
|
| void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info);
|
| MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info,
|
| @@ -599,8 +602,9 @@ class Debug {
|
| class LegacyDebugDelegate : public v8::debug::DebugDelegate {
|
| public:
|
| explicit LegacyDebugDelegate(Isolate* isolate) : isolate_(isolate) {}
|
| - void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id,
|
| - int parent_id) override;
|
| + void PromiseEventOccurred(v8::Local<v8::Context> context,
|
| + v8::debug::PromiseDebugActionType type, int id,
|
| + int parent_id, bool breakable) override;
|
| void ScriptCompiled(v8::Local<v8::debug::Script> script,
|
| bool has_compile_error) override;
|
| void BreakProgramRequested(v8::Local<v8::Context> paused_context,
|
|
|