Re: Debugging Cocoa Apps
Re: Debugging Cocoa Apps
- Subject: Re: Debugging Cocoa Apps
- From: Chris Ridd <email@hidden>
- Date: Tue, 03 Dec 2002 15:14:03 +0000
On 3/12/02 2:57 pm, Mike Jackson <email@hidden> wrote:
>
When I debug stepping to the next line of code sometimes takes me back a few
>
lines instead, or maybe forward a few lines, then stepping again (using the
>
PB Gui) might bring me back to the line of code I was on, or it might
>
actually go to the next line of code, very inconsistent.
>
>
I have never seen something like this when I was coding with java, but like
>
I said, this is my first foray into Obj-C. Is this normal or is something
>
completely messed up with my Dev Env?
Sometimes compiler optimizations will have that effect, even to the extent
of completely optimizing away lines of code. It is fairly normal for a C/C++
compiler.
Reduce the compiler optimization level and try again!
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.