Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging XDarwin apps in Projectbuilder?



Make sure you have the DISPLAY environment variable set in Project Builder so it can open the display.


Thanks, Andrew Pinski

On Tuesday, Oct 29, 2002, at 17:39 US/Pacific, tigital wrote:

hi,

...using ProjectBuilder, i've compiled an app and gotten it to run/debug, but not in a way that I'm familiar with...it should run under Xdarwin, but when that is open and I run the app in projectBuilder, I get:

Gtk-WARNING **: cannot open display:

GLib-CRITICAL **: file gstring.c: line 247 (g_string_free): assertion `string != NULL' failed.

GLib-CRITICAL **: file gstring.c: line 247 (g_string_free): assertion `string != NULL' failed.

...OTOH, if I pull out the 'executable' from the package, and run it from terminal in Xdarwin, it actually runs...kind of...meaning it launches and at this point needs debugging, and I don't know how to debug using gdb from the terminal...

Is there a way to get the app to run in Xdarwin via projectbuilder's debugging system? Or is there a way to produce the executable without the packaging?

tanx,
jamie
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >debugging XDarwin apps in Projectbuilder? (From: tigital <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.