Xcode debugging problem

后端 未结 3 1743
庸人自扰
庸人自扰 2021-01-24 03:41

I have a little problem with the Xcode Debugger. Looks to me the \"Step In\" function doesn\'t work like it should. Or just as I expect it to work.

I can step in any met

3条回答
  •  误落风尘
    2021-01-24 04:11

    I haven't seen this problem on Xcode 3.2.3.

    However, I have seen cases where the debugger gets confused about methods called against objects returned by imbedded methods e.g.

    id myResult=[[self returnAnObject] tellObjectToDoSomething];
    

    Sometimes the debugger doesn't seem to know which method to drop into or it "forgets" that there are two method calls on the line.

    If you have customize accessors, you may always drop into the the accessor instead of the outer method (i.e.tellObjectToDoSomething.)

提交回复
热议问题