--- On Wed, 6/10/09, Martin Batholdy <batho...@googlemail.com> wrote:

> my app works fine on my macbook,
> but on a macbook pro it starts and then just disappears
> immediately after the start
> (nor error message).
> 
> The OS version is the same,
> and the app is pretty simple (no graphic stuff or something
> like that).
> 
> There are no errors or warnings in the code ... and as I
> said, the app works fine on my machine.
> 
> why could that be?

You didn't provide a whole lot of information for us to go on, but just from 
the info you provided, the only things I could think of are external library 
dependencies, or user permission to run the application, or are you malloc'ing 
a huge amount of RAM on one machine that you don't have on the other machine ?

As another tip, I've had good luck debugging stuff by opening up OS X's 
terminal, and from the command line of the terminal, running the binary of the 
application itself from terminal's command line; something akin to:

    $ cd YourApp.app/Contents/MacOS/
    $ ./YourApp

This will output debugging info from fprintf's or NSLog's in your code to the 
terminal command line.  IIRC, this is equivalent to running the program from 
XCode's "Build and Run" option, where you get a logging terminal.  So if 
nothing shows up there, I am not sure how useful this tip is.

But more info would be helpful ...

vinai



      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to