• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Debug problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debug problems


  • Subject: Debug problems
  • From: Quentin Mathé <email@hidden>
  • Date: Mon, 13 May 2002 17:07:55 +0200

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.

  • Follow-Ups:
    • Re: Debug problems
      • From: Ondra Cada <email@hidden>
    • Re: Debug problems
      • From: nicolas berloquin <email@hidden>
  • Prev by Date: Re: Cocoa collision problems
  • Next by Date: Re: Displaying a menu at arbitrary location.
  • Previous by thread: Re: Copying formatted fields from an NSTableView
  • Next by thread: Re: Debug problems
  • Index(es):
    • Date
    • Thread