Re: Bus Error
Re: Bus Error
- Subject: Re: Bus Error
- From: Cameron Kerr <email@hidden>
- Date: Thu, 16 Jun 2005 17:32:34 +1200
On Jun 16, 2005, at 4:28 AM, Federico wrote:
6 printf
7 main
If you click on the "main" function in the stack trace, you can
inspect what arguments are being passed to printf.
I'm guessing (you perhaps should show us relevant parts of your code
(keep it short)) that you have either some problem with stdio, or you
have some other problem (such as heap corruption) that printf
encounters when it runs.
BTW, you will find it useful to put ALL debugging statements to
stderr, using fprintf. stdout is buffered, and not output immediately.
If you want to launch your program from Xcode with command-line
parameters, you will need to use Project > New Custom Executable
--
Cameron Kerr
Telecommunications Teaching Fellow & SysAdmin
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