Skip navigation.
 
mldebugger woes
FROM : Luc Vandal
DATE : Tue Apr 12 20:36:09 2005

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!

Related mailsAuthorDate
mldebugger woes Luc Vandal Apr 12, 20:36
mlRe: debugger woes Nick Zitzmann Apr 12, 21:27
mlRe: debugger woes Serge Meynard Apr 12, 21:31