Re: Xcode Goes Into Debugger Without Breakpoint or Error
Re: Xcode Goes Into Debugger Without Breakpoint or Error
- Subject: Re: Xcode Goes Into Debugger Without Breakpoint or Error
- From: Jim Ingham <email@hidden>
- Date: Wed, 14 Jan 2009 18:45:45 -0800
There should be more information in the Xcode-gdb log, which you can
turn on in the Debugger Pane of the Xcode Preferences. If you want to
chase this down further, please turn on this logging, run a session
that mysteriously stops like this, and then grab the log and file a
Radar including the log and a description of how you are running your
program.
Thanks,
Jim
On Jan 14, 2009, at 6:06 PM, Keary Suska wrote:
Xcode is mysteriously stopping in the debugger (stacktrace below).
It is not a breakpoint, and I don't get any message (like EXEC Bad
Access for the like). There is a status message (lowest left corner)
that reads "GDB Interrupted". If I hit continue in the debugger, it
rolls along as if nothing happened.
Note that the code where this problem occurs works in almost every
other situation except this specific one.
The method where the error occurs:
- (BOOL)execute
{
// build invocation
NSInvocation *invocation = [NSInvocation
invocationWithMethodSignature:[target
methodSignatureForSelector:selector]];
[invocation setTarget:target];
[invocation setSelector:selector];
// add args, if any
int i, count = [arguments count];
for( i=0; i<count; i++ )
{
id arg = [arguments objectAtIndex:i];
// make nulls nil
if( arg == [NSNull null] ) arg = nil;
[invocation setArgument:&arg atIndex:i+2];
}
// invoke & get return value
BOOL result;
[invocation invoke];
[invocation getReturnValue:&result];
return result;
}
The method called by the invocation returns a BOOL value, takes no
arguments. I have purged caches/cleaned all/rebuilt but the problem
remains. Anybody have any ideas?
#0 0x929d0de1 in __NSI0 ()
#1 0x929d125f in __NSI1 ()
#2 0x929d1d73 in -[NSInvocation getArgument:atIndex:] ()
#3 0x929d1c71 in -[NSInvocation getReturnValue:] ()
#4 0x0001fc06 in -[AIROperation execute] (self=0xe78ab80,
_cmd=0x911d5d30) at /Users/aksuska/Projects/FFSEmploy/AirBase
Replacement Project/AirBase/AIROperation.m:84
#5 0x00022143 in -[OperationQueue executeQueue] (self=0xe78aa40,
_cmd=0x4c2b0) at /Users/aksuska/Projects/FFSEmploy/AirBase
Replacement Project/AirBase/OperationQueue.m:142
#6 0x00009198 in -[Table commitChanges] (self=0x2f3d40,
_cmd=0x455e9) at /Users/aksuska/Projects/FFSEmploy/AirBase
Replacement Project/AirBase/Database/Table.m:648
#7 0x929d2a3d in __invoking___ ()
#8 0x929d2428 in -[NSInvocation invoke] ()
#9 0x0001fbe8 in -[AIROperation execute] (self=0xe78a820,
_cmd=0x911d5d30) at /Users/aksuska/Projects/FFSEmploy/AirBase
Replacement Project/AirBase/AIROperation.m:83
#10 0x00022143 in -[OperationQueue executeQueue] (self=0xdceac70,
_cmd=0x4c2b0) at /Users/aksuska/Projects/FFSEmploy/AirBase
Replacement Project/AirBase/OperationQueue.m:142
#11 0x0003393c in -[CustomerController saveContentRow]
(self=0xdcda6d0, _cmd=0x48310) at /Users/aksuska/Projects/FFSEmploy/
AirBase Replacement Project/AirBase/Customer/CustomerController.m:383
#12 0x00016848 in -[RowWindowController performSave] (self=0x2c86c0,
_cmd=0x48424) at /Users/aksuska/Projects/FFSEmploy/AirBase
Replacement Project/AirBase/Database/RowWindowController.m:203
#13 0x00016332 in -[RowWindowController saveRecord:] (self=0x2c86c0,
_cmd=0x483ec, sender=0xdc1cea0) at /Users/aksuska/Projects/FFSEmploy/
AirBase Replacement Project/AirBase/Database/RowWindowController.m:84
#14 0x94e0853b in -[NSApplication sendAction:to:from:] ()
#15 0x94e08478 in -[NSControl sendAction:to:] ()
#16 0x94e082fe in -[NSCell _sendActionFrom:] ()
#17 0x94e07957 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
#18 0x94e071aa in -[NSButtonCell
trackMouse:inRect:ofView:untilMouseUp:] ()
#19 0x94e06a64 in -[NSControl mouseDown:] ()
#20 0x94e051a3 in -[NSWindow sendEvent:] ()
#21 0x94dd1d49 in -[NSApplication sendEvent:] ()
#22 0x94d2f69f in -[NSApplication run] ()
#23 0x94cfc8a4 in NSApplicationMain ()
#24 0x00002d2a in main (argc=3, argv=0xbffff534) at /Users/aksuska/
Projects/FFSEmploy/AirBase Replacement Project/AirBase/main.m:10
TIA,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden