Re: Debug problems
Re: Debug problems
- Subject: Re: Debug problems
- From: nicolas berloquin <email@hidden>
- Date: Mon, 13 May 2002 17:38:46 +0200
what type of optimization do you have ? if you have > 0, the execution
can seem to be "random" because
of the way the compiler rearranges things to gain speed/space.
check the edit-active-target command in the project menu...
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)...
if ([userDefaults boolForKey:showPackageContentKey]) { // Breakpoint
here
while (filename = [enumerator nextObject]) {
if (threadToKill == YES) {
threadToKill = NO;
[NSThread exit]; // line where the debugger jumps from the first one
}
}
}
--
Quentin Mathi
email@hidden
_______________________________________________
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.
_______________________________________________
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.