Xcode debug console cut off
When debugging my C++ app in Xcode 4 with the iOS simulator, the debug console gets cut off abruptly with the message "[Switching to process 45196 thread 0x207]", and that's it, no more output. The app carries on running as normal, so it's clearly an Xcode/gdb interaction thing, not a code pr开发者_如何学Pythonoblem.
Any suggestions for getting my console back?
Update: it still happens with Xcode 4.0.2
I had the same issue. What fixed it for me is that my C++ code was calling some Objective-C methods. These methods also had some printing to the console. Note that this objective-C code also manages some threads (for AudioUnits). When I commented out every print statement (doest mather if they are printf or NSlog) then all the rest printed correctlty to sonsole. So is it thread, the C++, objective-C mix or something else ---Your Guess--- but it did the trick
精彩评论