summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug/debug.h')
-rw-r--r--deps/v8/src/debug/debug.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/debug/debug.h b/deps/v8/src/debug/debug.h
index a47b693b5e..cf49ce66e8 100644
--- a/deps/v8/src/debug/debug.h
+++ b/deps/v8/src/debug/debug.h
@@ -69,6 +69,7 @@ class BreakLocation {
static BreakLocation Invalid() { return BreakLocation(-1, NOT_DEBUG_BREAK); }
static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
JavaScriptFrame* frame);
+ static bool IsPausedInJsFunctionEntry(JavaScriptFrame* frame);
static void AllAtCurrentStatement(Handle<DebugInfo> debug_info,
JavaScriptFrame* frame,
@@ -222,7 +223,7 @@ class V8_EXPORT_PRIVATE Debug {
// Debug event triggers.
void OnDebugBreak(Handle<FixedArray> break_points_hit, StepAction stepAction,
debug::BreakReasons break_reasons = {});
- debug::DebugDelegate::PauseAfterInstrumentation OnInstrumentationBreak();
+ debug::DebugDelegate::ActionAfterInstrumentation OnInstrumentationBreak();
base::Optional<Object> OnThrow(Handle<Object> exception)
V8_WARN_UNUSED_RESULT;
@@ -576,6 +577,9 @@ class V8_EXPORT_PRIVATE Debug {
// Source statement position from last step next action.
int last_statement_position_;
+ // Bytecode offset from last step next action.
+ int last_bytecode_offset_;
+
// Frame pointer from last step next or step frame action.
int last_frame_count_;