On 22 Jun '08, at 4:08 PM, Clayton Leitch wrote:
#0 0x96cd5564 in NSDecimalCopy ()
#1 0x96d854f9 in NSDecimalSubtract ()
#2 0x96dadad8 in -[NSDecimalNumber
decimalNumberBySubtracting:withBehavior:] ()
#3 0x96dada47 in -[NSDecimalNumber decimalNumberBySubtracting:] ()
#4 0x00001b67 in -[MonthlyReport reportCurrentDifference]
(self=0x261bb30, _cmd=0x1fe6) at /Users/leitchc/Documents/Coding
Efforts/SoftCopyContract 2.0/MonthlyReport.m:30
Xcode has a debugger. Run the program with the debugger enabled, and
you'll drop into it when it crashes. Look at the topmost stack frame
that belongs to your app, see what statement it was in, and the values
of variables. In particular, what is the parameter being passed to
decimalNumberBySubtracting:? Use the "po" command on it to have gdb
print its description.
This isn't rocket science. This is how you debug an application...
—Jens_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]