| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index 17897dd7f031854baee8ba3db4218899c560397c..9b4a91f28cc43bdaec3f4aa33820c2cee7106257 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1587,7 +1587,8 @@ bool Debug::StepNextContinue(BreakLocationIterator* break_location_iterator,
|
| // object.
|
| bool Debug::IsDebugBreak(Address addr) {
|
| Code* code = Code::GetCodeFromTargetAddress(addr);
|
| - return code->ic_state() == DEBUG_BREAK;
|
| + return code->ic_state() == DEBUG_STUB &&
|
| + code->extra_ic_state() == DEBUG_BREAK;
|
| }
|
|
|
|
|
|
|