Xcode stdin problems

Discussion in 'Mac Programming' started by kperryua, Sep 16, 2005.

  1. kperryua macrumors newbie

    Sep 1, 2005
    I'm trying to debug a command line tool in Xcode, and I need to enter an end-of-file character (control-D) in the buffer to advance the operation of the program. However, when I try to do that from the Xcode Standard I/O window, it doesn't insert the character. It works from the Terminal, but I don't have the Xcode debugger front end from there.

    Any ideas for a work around?
  2. kainjow Moderator emeritus


    Jun 15, 2000
    Hmm, I don't think there's a workaround, unless you can temporarily check for a weird input character and use control-D instead of that...

Share This Page