From 41d9af4f8e6ac654f1d1f3018338babfd7d9c634 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 3 Dec 2008 02:13:11 -0500 Subject: [PATCH] Fixed a bug where stepIn would remove the current stack frame if the file was the same but a function call was made * Source/StackFrame.m: (isShiftedFrame:): A frame is shifted if it is in the same file AND it is still in the same function --- Source/StackFrame.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/StackFrame.m b/Source/StackFrame.m index 140387c..db93682 100644 --- a/Source/StackFrame.m +++ b/Source/StackFrame.m @@ -58,7 +58,7 @@ */ - (BOOL)isShiftedFrame:(StackFrame *)frame { - return ([filename isEqualToString:frame.filename]); + return ([filename isEqualToString:frame.filename] && [function isEqualToString:frame.function]); } /** -- 2.43.5