Re: Debug problems
Re: Debug problems
- Subject: Re: Debug problems
- From: Ondra Cada <email@hidden>
- Date: Mon, 13 May 2002 17:55:57 +0200
On Monday, May 13, 2002, at 05:07 , Quentin Mathi wrote:
Many times, when I try to debug it's impossible because the debugger
jumps from one line to another farther without reasons. For example with
the code below, the debugger stops at the first line (there is a
breakpoint), and then when I click "Step over" or "Step into" jumps at
[NSThread exit] (but this line doesn't seem to be executed)...
That's a quite normal result of loop being compiled to (something like)
LOOP:
JMP X
... body ...
X:
CMP ... condition ...
JNZ LOOP
Perhaps you might get rid of that by ensuring all optimalizations are
switched off, but no guarantee -- I've never tried.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.