r****y 发帖数: 26819 | 1 xcode最新版里gdb调试程序怎么输入数据?
google了一下:
There is no more Standard I/O Log or Run Log, there is only the Console.
Stdin to your app is now sent via the Console log while executing and to the
debugger when paused. The Console window now has a toolbar like the old Run
window formerly did. To make this available in existing projects, remove
the .mode*V3 file from the project wrapper. The debugger prompt and
text colors set in the Debugger preferences are visual indicators for where
the input is going.
console窗口里gdb不接受数据输入:
please enter the number of vertex:
(gdb) 6
Undefined command: "6". Try "help". | d****p 发帖数: 685 | 2 我这边没问题:console上可以输入数据,在调试模式,带着xcode 3.2.3。
你的输入直接被认为gdb命令,显然是程序并没有等待输入。
the
Run
where
【在 r****y 的大作中提到】 : xcode最新版里gdb调试程序怎么输入数据? : google了一下: : There is no more Standard I/O Log or Run Log, there is only the Console. : Stdin to your app is now sent via the Console log while executing and to the : debugger when paused. The Console window now has a toolbar like the old Run : window formerly did. To make this available in existing projects, remove : the .mode*V3 file from the project wrapper. The debugger prompt and : text colors set in the Debugger preferences are visual indicators for where : the input is going. : console窗口里gdb不接受数据输入:
| r****y 发帖数: 26819 | 3 明白了,要等几秒钟,等(gdb)命令状态过去。谢谢。
【在 d****p 的大作中提到】 : 我这边没问题:console上可以输入数据,在调试模式,带着xcode 3.2.3。 : 你的输入直接被认为gdb命令,显然是程序并没有等待输入。 : : the : Run : where
|
|