• 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
debugger woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debugger woes


  • Subject: debugger woes
  • From: Luc Vandal <email@hidden>
  • Date: Tue, 12 Apr 2005 14:36:09 -0400

Hi!

Sometimes when I debug my app, if I set a breakpoint I won't be able to step over it. No matter how many times I hit the Step Over button, the code after the breakpoint won't be executed. I also tried to hit the Continue button but nothing happens.

I tried once to restart my computer and that seemed to help. There's nothing bad in the function so I really don't understand what could cause this:

- (void)EnumerateVolumes
{
int o=0;
NSString *theFile = @"/Volumes/";

NSFileManager *manager = [NSFileManager defaultManager];


NSArray* pathDisplayArray = [manager componentsToDisplayForPath:theFile];


int i= [pathDisplayArray count];
NSString* diskName = [pathDisplayArray objectAtIndex:0];


[theFile release];
[diskName release];
}


Note that the first line (int o=0;) is fine. It's when I set a breakpoint at the following lines that the problem occurs... Any idea?

Thanks!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: debugger woes
      • From: Serge Meynard <email@hidden>
    • Re: debugger woes
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: When are bound variables initialized?
  • Next by Date: Drawing on integral values? WAS proper boarder.
  • Previous by thread: Re: When are bound variables initialized?
  • Next by thread: Re: debugger woes
  • Index(es):
    • Date
    • Thread