Skip navigation

xCode 4.5 console input

5100 Views 17 Replies Latest reply: Oct 12, 2012 1:03 PM by Chris Lent RSS
1 2 Previous Next
Sol88 Calculating status...
Currently Being Moderated
Sep 20, 2012 10:57 AM

Hi everybody!

Yesterday I've updated to ML 10.8.2 and xCode 4.5. And I've got a trouble. In C++ Console Application I can write only one symbol in console. I can't write any more untill press enter, then 1 more.

Output does well.


Does anybody have the same problem?? With xCode 4.4 everything was OK.


Thanks for help!

  • izuchukwu.elechi Calculating status...
    Currently Being Moderated
    Sep 20, 2012 11:28 AM (in response to Sol88)

    Also expriencing this issue with Xcode 4.5, OS X 10.8.2, and Xcode 4.5 Command Line Tools. I've also noticed that switching to a different output setting ("Debugger Output" or "Target Output") shows all previous input but still truncates new input until the output setting is switched again., or i


    One workaround I've found is to install a copy of Xcode 4.4.1 (I keep it in an "Xcode Archive" folder in my Apps folder) and use the older install for C++ development, though Xcode 4.5 improved C++ development, so I'd love to see a better solution.

  • GUANZHONG WANG Calculating status...
    Currently Being Moderated
    Sep 20, 2012 11:10 PM (in response to Sol88)

    yes. I have same problem. my debugger just can show only one mumber in console. but output does well. why?

  • vindicadi198 Calculating status...
    Currently Being Moderated
    Sep 20, 2012 11:31 PM (in response to GUANZHONG WANG)

    I too am having the same issue with c++ and c projects, i havent checked with objective-c. the console shows just one character while taking input but whatever has been typed is taken as input even though not displayed.

    Hpefully it will be solved soon

  • HateMyself Calculating status...
    Currently Being Moderated
    Sep 22, 2012 5:33 AM (in response to Sol88)

    It's the same bug that i have with my Xcode 4.5. No sulution found

  • tony92532 Calculating status...
    Currently Being Moderated
    Sep 22, 2012 3:48 PM (in response to Sol88)

    Same problem.  I thought it was just me.

  • Mark Szymczyk Level 4 Level 4 (1,865 points)
    Currently Being Moderated
    Sep 23, 2012 12:14 PM (in response to Sol88)

    There's a discussion of this issue on Apple's paid developer forums. It's a bug in Xcode 4.5. Apple's engineers are looking into the issue, but there's no fix yet.


    There are two workarounds. The first workaround is to run your command-line app from the Terminal. In the Xcode project navigator select your executable from the Products folder. Right-click and choose Show in Finder. Double-click the executable in the Finder to launch it in the Terminal.


    The second workaround is to install Xcode 4.4. Choose Xcode > Open Developer Tool > More Developer Tools to access Apple's developer downloads site.

  • Jürgem Calculating status...
    Currently Being Moderated
    Sep 23, 2012 2:27 PM (in response to Mark Szymczyk)

    Thanks... the second solution work well

  • A694ME Calculating status...
    Currently Being Moderated
    Sep 25, 2012 11:25 AM (in response to Mark Szymczyk)

    I downloaded and ran xcode 4.4 as previously suggested, but the application wont load or open and I have to force quit.

    Is anyone else experiencing this same issue?

  • Chris Lent Calculating status...
    Currently Being Moderated
    Sep 26, 2012 8:09 PM (in response to Sol88)

    Developed a WORKAROUND today :-)


    Choose File > New > New Window


    Resize the Window so that the window covers the existing Xcode window, BUT leave the existing

    xCode windows "All Output" showing underneath. 


    Click into new (upper/covering ) "All Output" window to put the keyboard focus in the upper window.


    Run your application.  Upper/covering window will show only first input character per line, but

    lower window's "All Output" section will show all characters as they are typed in.


    See a picture of this at: -input-echo-problem


    I filed a bug report on this, with the workaround included:


    Problem ID: 12383367

    Title: Console Input to "All Output" window echoes only first character of each line

    Originated Date: 26-Sep-2012 11:03 PM (EDT)

  • s.mclaughlin Calculating status...
    Currently Being Moderated
    Sep 27, 2012 7:10 PM (in response to Sol88)

    I like the suggestion of running the application in the Terminal best but what debugging?

    I hope the Apple engineers can fix this problem soon...

  • Chris Lent Level 1 Level 1 (0 points)
    Currently Being Moderated
    Sep 29, 2012 4:32 PM (in response to Chris Lent)

    Happily, it looks like this bug was already logged, but sadly still open.

    Update: September 29, 2012

    This is a follow up to Bug ID# 12383367. This bug has been closed as a Duplicate. The issue is being tracked under the original Bug ID# 12333057 which is also listed in the Related Problem section of your bug report. To check the status of the original bug report, please visit the Related Problem section of the Problem Detail view of your closed duplicate bug.

    The status of Bug ID# 1233057 is Open at this time.

  • Ian the Smiler Calculating status...
    Currently Being Moderated
    Oct 2, 2012 10:11 AM (in response to Sol88)

    It looks like using cut and paste also shows all the text entered.

1 2 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (2)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.