| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index 4966713baabf7644a48a8de9591699645fc33d8e..990a9a5c7b8824f9f28c579d6db2989964381f8e 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1627,7 +1627,7 @@ bool Debug::StepNextContinue(BreakLocationIterator* break_location_iterator,
|
| // object.
|
| bool Debug::IsDebugBreak(Address addr) {
|
| Code* code = Code::GetCodeFromTargetAddress(addr);
|
| - return code->is_debug_break();
|
| + return code->is_debug_stub() && code->extra_ic_state() == DEBUG_BREAK;
|
| }
|
|
|
|
|
|
|