• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode : debuging a command line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode : debuging a command line tool


  • Subject: Re: Xcode : debuging a command line tool
  • From: Jim Ingham <email@hidden>
  • Date: Wed, 23 Mar 2005 09:03:30 -0800


On Mar 23, 2005, at 8:53 AM, David Dolinar wrote:

Nicolas,

IIRC there are two "Debugger consoles." The first (accessed by clicking on the 'console' icon in the debugger status bar) just shows output. The second shows output and receives input, it is accessed through the menu item: Debug -> Standard I/O Log.

One minor correction, the first window (which you can also get from Debug->Console Log) is the interface to the gdb command line, in case you happen to like using gdb. So it also receives input, but it goes to the debugger, not to the program you are debugging.


Jim


I'm assuming you found the first, but not the second. The second (Debug Menu -> Standard I/O Log) is the one you want for stdin.


-- David Dolinar, Software Developer
-- Directory Resources LLC.

On Mar 22, 2005, at 11:25 AM, email@hidden wrote:


Date: Tue, 22 Mar 2005 16:52:58 +0100 (CET)
From: email@hidden
Subject: Xcode : debuging a command line tool
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain;charset=iso-8859-1

Hi all,

I wonder (today) how I could debug a command line tool that takes input on
the command line with the C++ cin command (iostream).


When running the debugger within Xcode, I found how to open the console
and get the standard and error outputs...


But this console does not react when I enter an input after it prompts for
it.


Any idea ?
Thx,
Nicolas


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Xcode : debuging a command line tool
      • From: Markian Hlynka <email@hidden>
References: 
 >Re: Xcode : debuging a command line tool (From: David Dolinar <email@hidden>)

  • Prev by Date: Re: Xcode : debuging a command line tool
  • Next by Date: Re: Xcode : debuging a command line tool
  • Previous by thread: Re: Xcode : debuging a command line tool
  • Next by thread: Re: Xcode : debuging a command line tool
  • Index(es):
    • Date
    • Thread