• 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
Input to the debug console during execution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Input to the debug console during execution


  • Subject: Input to the debug console during execution
  • From: Michael <email@hidden>
  • Date: Mon, 12 Jun 2006 10:01:18 +0100
  • Thread-topic: Input to the debug console during execution

Title: Input to the debug console during execution

Hi all

I am running a command line tool which requires user input during program execution (i.e. scanf() statements from stdin).  This works fine in the pseudo-terminal but apparently not in the gdb console when debugging. For example – trying to input “5”

   Please input variable A : 5  (<- my input is "5")
    Undefined command: "5".  Try "help".
    (gdb)


Is there some gdb command that I need to use for this to work or is it a bug?

Using XCode 2.3 PPC.

TIA

Michael
 _______________________________________________
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: Input to the debug console during execution
      • From: Chris Friesen <email@hidden>
  • Prev by Date: Re: How are we supposed to paste text in XCode?
  • Next by Date: dyld: Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib
  • Previous by thread: Basics of Creating and Using Custom Palettes?
  • Next by thread: Re: Input to the debug console during execution
  • Index(es):
    • Date
    • Thread