Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 99a4752fc658b29264afc22b5fb9c3a287de5bba..2413bf915965516e42e240f98087335e5b51ed1f 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -65,6 +65,8 @@ enum DebugBreakType { |
DEBUG_BREAK_SLOT_AT_TAIL_CALL, |
}; |
+enum IgnoreBreakMode { kAllFramesBlackboxed, kTopFrameBlackboxed }; |
dgozman
2017/03/09 23:04:01
kIgnoreIfAllFramesBlackboxed, kIgnoreIfTopFrameBla
kozy
2017/03/10 03:14:55
Done.
|
+ |
class BreakLocation { |
public: |
static BreakLocation FromFrame(Handle<DebugInfo> debug_info, |
@@ -276,7 +278,7 @@ class Debug { |
MUST_USE_RESULT MaybeHandle<Object> Call(Handle<Object> fun, |
Handle<Object> data); |
Handle<Context> GetDebugContext(); |
- void HandleDebugBreak(); |
+ void HandleDebugBreak(IgnoreBreakMode ignore_break_mode); |
// Internal logic |
bool Load(); |
@@ -490,6 +492,7 @@ class Debug { |
void ClearOneShot(); |
bool IsFrameBlackboxed(JavaScriptFrame* frame); |
+ bool IsTopFrameBlackboxed(); |
void ActivateStepOut(StackFrame* frame); |
void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info); |