也是在做串口通信是遇到的问题。SDK的Examples中的GlassTerm程序是基于Console的程序。在调试时找不到Console的输入窗口。
下面是一位仁兄总结的方法,收藏过来。
转至:http://blog.youkuaiyun.com/lasery/archive/2008/11/03/3208276.aspx
详细内容:
=============
Debugging console apps with 3rd edition emulator
Symbian console applications are handle for testing. Debugging them with the 2nd edition emulator was obvioius. With 3rd edition, there is a trick. Instead of the epoc.exe application, you need to run eshell.exe. This will bring up a command line. Enter the name of the executable at the prompt and away you go.
How does one configure the IDE to run a console applciation? With Carbide, select the "Debug..." memu item on the debug popup on the toolbar. This will bring up a dialog to configure the debug session. Select the "Main" tab. Edit the "Emulator or host application" from epoc.exe to eshell.exe.
Code Warrior is similar. It is in the setttings dialog but it is tucked away under Target->Runtime Settings. Update the "Host Application for Libraries & Code Resources" field.
另外,根据使用经验,直接打开eshell.exe仍然会启动有界面的模拟器,模拟器的界面会覆盖掉eshell的界面。可以通过快捷键Alt+Ctrl+Shift+T切换任务。模拟器中快捷键的用法可以在
查到。此外,可以在启动eshell的时候加入参数"-dtextshell --"只启动eshell而不带有界面。这个设置可以在CodeWarrior的Target->Runtime Settings->Program Arguments更改。
我使用了“Alt+Ctrl+Shift+T”快捷键,果然找到了Console窗口。