WinCE Shell使用调试指南

来源:互联网 发布:数独软件下载 编辑:程序博客网 时间:2024/05/16 06:53

          好久没有使用Shell查看目标板内的进程运行状态,今天调式的时候发现程序似乎没有加载起来,通讯连接不上。想切换到shell下 查看进程信息却怎么也想不起来进入shell的命令尴尬。。。

          好记性不如烂笔头,这里做一下梳理备份。

       

          1.Win CE下,需要先使用Telnet 命令登录,建立网络连接: Telnet 210.0.0.1

          2.登录进入后可以使用命令:Shell -C

             即可以进入WinCE Shell了。便可以进行一些强大的操作,查看程序的运行状态;

          3.介绍几个基本命令。

              一,命令:?。这个是必须的,在shell模式下输入?按回车可以得到帮助信息。

             二,进程查看命令,查看当前运行程序的进程信息:gi proc

                    command :  gi ["proc","thrd","mod","all"]* ["<pattern>"]: Get Information

                                                proc    -> Lists all processes in the system

                                                thrd      ->Lists all processes with their theads

                                                delta    ->Lists Only therads that have changes in CPU times

                                                mod     ->Lists Module usage data

                                                system ->Lsits processor architecture and OS version.

                                                 all         -> Lists all of the above

                      command : mi

 

                      command : zo

 

                      command : le

 

                      command : win

 

                      command : log

 

                      command : prof

 

                      command : memtrack

 

                      command : kp

 

                      command : dd

 

                      command : hd

 

                      command : df

 

                      command : hd

 

                      command : run

 

                      command : dis

 

                       command : options

 

                       command : suspend:

 

                       command : loadext

 

                       command : tp