FROM : Stuart Malin
DATE : Wed May 14 19:56:59 2008
On May 14, 2008, at 5:55 AM, <email_removed> wrote:
> The App runs fine in gdb and even writes the output file.....
>
> Still the same error (crash and no output written) when running it
> with "open MyApp.app".
>
> Yann
Have you built a deployment (Release) version? Unless you have done
so, a Debug version will run fine under Xcode, but not standalone
because of zerolink (possibly among other reasons). Use the "Project"
menu --> "Set Active Build Configuration" to set this.
> On 14. May 2008, at 16:47, Jens Alfke wrote:
>
>>
>> On 14 May '08, at 6:48 AM, Yann Disser wrote:
>>
>>> How can I debug my App from Finder (or Terminal) to see where it
>>> crashes? (printf("hallo\n") doesn't work either)
>>
>> From a shell, enter "gdb MyApp.app", then "run".
>>
>> I would suspect a dyld error, like a framework/library not found.
>> The Finder / LaunchServices is really bad at reporting these.
>> Running the app from a shell or gdb should report more useful info.
>>
>>
>> On 14 May '08, at 6:55 AM, Stéphane wrote:
>>> There's a bug in your code or in your Info.plist.
>>
>> Actually I think we could answer almost all of the questions on this
>> list that way ;-)
DATE : Wed May 14 19:56:59 2008
On May 14, 2008, at 5:55 AM, <email_removed> wrote:
> The App runs fine in gdb and even writes the output file.....
>
> Still the same error (crash and no output written) when running it
> with "open MyApp.app".
>
> Yann
Have you built a deployment (Release) version? Unless you have done
so, a Debug version will run fine under Xcode, but not standalone
because of zerolink (possibly among other reasons). Use the "Project"
menu --> "Set Active Build Configuration" to set this.
> On 14. May 2008, at 16:47, Jens Alfke wrote:
>
>>
>> On 14 May '08, at 6:48 AM, Yann Disser wrote:
>>
>>> How can I debug my App from Finder (or Terminal) to see where it
>>> crashes? (printf("hallo\n") doesn't work either)
>>
>> From a shell, enter "gdb MyApp.app", then "run".
>>
>> I would suspect a dyld error, like a framework/library not found.
>> The Finder / LaunchServices is really bad at reporting these.
>> Running the app from a shell or gdb should report more useful info.
>>
>>
>> On 14 May '08, at 6:55 AM, Stéphane wrote:
>>> There's a bug in your code or in your Info.plist.
>>
>> Actually I think we could answer almost all of the questions on this
>> list that way ;-)
| Related mails | Author | Date |
|---|---|---|
| Yann Disser | May 14, 15:48 | |
| Stéphane | May 14, 15:55 | |
| Jean-Daniel Dupas | May 14, 16:20 | |
| Jens Alfke | May 14, 16:47 | |
| Yann Disser | May 14, 17:13 | |
| Andy Lee | May 14, 17:30 | |
| Stuart Malin | May 14, 19:56 | |
| Jean-Daniel Dupas | May 14, 20:55 | |
| Yann Disser | May 15, 18:42 | |
| Jean-Daniel Dupas | May 15, 18:48 | |
| Sherm Pendley | May 15, 18:56 | |
| Jens Alfke | May 15, 20:45 | |
| Douglas Davidson | May 15, 20:49 |






Cocoa mail archive

