Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index a0b9884410f289302d7d74be6e65bfb62ef1a413..05c207f16a9cd86bb0ed6a4b29b93653c4b6b948 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -410,6 +410,9 @@ bool BreakLocationIterator::IsStepInLocation(Isolate* isolate) { |
HandleScope scope(debug_info_->GetIsolate()); |
Address target = rinfo()->target_address(); |
Handle<Code> target_code(Code::GetCodeFromTargetAddress(target)); |
+ if (target_code->kind() == Code::STUB) { |
+ return target_code->major_key() == CodeStub::CallFunction; |
+ } |
return target_code->is_call_stub() || target_code->is_keyed_call_stub(); |
} else { |
return false; |