I am converting an old, large C program that uses curses for its user interface to Mac OS X. It is now ported and partly working.
I am trying to find an effective way to debug the program. 1. If I try to run it under Xcode’s debugger, because the Xcode debug console does not have a terminal emulator (at least I don’t think it does), weird things happen in the console, and it is difficult to keep things straight in the head. 2. If I try to run it in its own terminal and attach it to Xcode’s debugger, the very act of going back and forth between the two processes causes the curses system to do things independent of the program, and the program always exits very soon with no apparent cause and hitting no exception breakpoint. 3. Checking google, the GNU debugger has a “tty” command that can be used to direct the output of a program being debugged to a specific terminal. This seems like the perfect solution for me, but the Xcode debugger does not seem to have this facility. Currently I’m stuck on option 1 and looking for something better. Any advice? Thanks, Tom Wetmore _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
