| Index: src/debug.h
|
| diff --git a/src/debug.h b/src/debug.h
|
| index a5119d0773946ef4c6302375ab51fba6675de510..7e792b69cf7aed9845f0d25a1feeec37facb6f5a 100644
|
| --- a/src/debug.h
|
| +++ b/src/debug.h
|
| @@ -454,6 +454,10 @@ class Debug {
|
| // Record function from which eval was called.
|
| static void RecordEvalCaller(Handle<Script> script);
|
|
|
| + bool CheckExecutionState(int id) {
|
| + return !debug_context().is_null() && break_id() != 0 && break_id() == id;
|
| + }
|
| +
|
| // Flags and states.
|
| DebugScope* debugger_entry() { return thread_local_.current_debug_scope_; }
|
| inline Handle<Context> debug_context() { return debug_context_; }
|
|
|