Fixed a bug where stepIn would remove the current stack frame if the file was the...
authorRobert Sesek <rsesek@bluestatic.org>
Wed, 3 Dec 2008 07:13:11 +0000 (02:13 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Wed, 3 Dec 2008 07:13:11 +0000 (02:13 -0500)
* 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

index 140387ca5695c067f2baf55a346092ccdf429ba8..db93682965c83920a7c00c50d19d5a46f718f0af 100644 (file)
@@ -58,7 +58,7 @@
  */
 - (BOOL)isShiftedFrame:(StackFrame *)frame
 {
-       return ([filename isEqualToString:frame.filename]);
+       return ([filename isEqualToString:frame.filename] && [function isEqualToString:frame.function]);
 }
 
 /**