On Tuesday, October 29, 2002, at 05:39 PM, 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:
...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...
Isn't PB's debugging system just "gdb with color"?
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?
Many X apps take a command-line argument to specify the display (using
the value you would set your DISPLAY variable to, when running from the
shell). There may be a way to set environment variables in PB for
running the program being debugged, but I don't know it. There is a
"project-builders" list (see http://lists.apple.com) that may be a
source of help.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
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.