Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index 474b90bd215e02cabf0210d2014b21dba9059d30..7ec78015c6d2d65794b8f0f299444ccf570683b2 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2011 the V8 project authors. All rights reserved. |
+// Copyright 2012 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -245,6 +245,8 @@ class Debug { |
bool IsBreakOnException(ExceptionBreakType type); |
void PrepareStep(StepAction step_action, int step_count); |
void ClearStepping(); |
+ void ClearStepOut(); |
+ bool IsStepping() { return thread_local_.step_count_ > 0; } |
bool StepNextContinue(BreakLocationIterator* break_location_iterator, |
JavaScriptFrame* frame); |
static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); |
@@ -464,7 +466,6 @@ class Debug { |
void ActivateStepIn(StackFrame* frame); |
void ClearStepIn(); |
void ActivateStepOut(StackFrame* frame); |
- void ClearStepOut(); |
void ClearStepNext(); |
// Returns whether the compile succeeded. |
void RemoveDebugInfo(Handle<DebugInfo> debug_info); |