Target下debugger kdstub 出错分析

1) Shutdown all instances of PB (version 5.0 and later) and make sure Cepb.exe, CeSvcHost.exe (CeSvcH~1.exe) and DeviceEmulator.exe are gone from  the task manager.

   退出pb软件

 

2) Back up the C:\Documents and Settings\<user>\local settings\application data

\microsoft\corecon folder

     如果不需要还原,直接删掉也可

   这个目录要在把系统隐藏的文件给显示出来,否则找不到该目录,甚至连搜索都不能搜索到

 

3) Purge that folder [This will destroy all previously configured device settings. It is important to make a backup as in step 2 if you need to retain the other device settings and revert back].

 

Then,

 

4) Back up C:\Documents and Settings\all users\application data\microsoft\corecon\1.0\addons folder to something outside of

      如果不需要还原,直接删掉也可

这个目录要在把系统隐藏的文件给显示出来,否则找不到该目录,甚至连搜索都不能搜索到

 

5) Purge that addons folder under the corecon\1.0

 

6) Create a new one by that name under the corecon\1.0 folder

    重新创建addons文件夹

 

7) Copy C:\Program Files\<PB Install folder>\CoreCon\SDK\XSL\Addons\*.xsl to

the new ...\coreCon\1.0\Addons folder you created.

   这个pb安装目录,我是从5.0下面拷贝来的,不知道从6.0拷贝出来的会怎么样

 

8)Also copy

C:\ProgramFiles\<PBInstallfolder>\CEPB\bin\microsoft.platformbuilder500.servicecategory.xsl to the above addons folder.

  这个pb安装目录,只要5.0下面才有,所以也是从5.0下面拷贝来的

 

9) Relaunch PB and try creating and configuring a new device.

 

我之前装了5.0,再装6.0,通过上面的步骤,debugger下面kdstub出来时式没有prompt on error这个错误的。但是后来在台式机上装,没有安装过5.0,而直接安装了6.0,按照上面的步骤,在做到第7步的时候,从5.0那拷贝出来的是不行的,发现在target device connectivity options 上的选项都是None,后来该从6.0那拷贝来,除了最后一项,其他几项都正常了。

  但最后一项还是none,始终没有解决;我怀疑是不是第8步骤中,由于是从5.0拷贝来的,而在台式机上根本没按照国5.0,所以也就不能支持。还有待解决…………

posted @ 2010-11-04 15:23  gmh  阅读(359)  评论(0编辑  收藏  举报