惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
GbyAI
GbyAI
M
MIT News - Artificial intelligence
美团技术团队
罗磊的独立博客
雷峰网
雷峰网
量子位
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
D
Docker
小众软件
小众软件
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
阮一峰的网络日志
阮一峰的网络日志
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
WordPress大学
WordPress大学
V
V2EX
博客园_首页
腾讯CDC
The Cloudflare Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

博客园 - stone

release 版本dll的调试 dead lock in thread pool Excel C# Automation 如何让iframe 自动适应窗口的高度 自定义Silverlight toolkit 里面的 Column Chart 的data point 二叉树算法题 单链表操作相关算法 BUG: "Old format or invalid type library" error when automating Excel on 64 bit server 2008 - stone enable Assembly Load Trace 不合法的XML字符必须被替换为相应的实体 - stone - 博客园 如何修改 VS 自动生成的 COM interop dll VS中Sos调试扩展简介 (转帖) Sql server 2005 connection string - stone Get depth of BTree Quick sort C# code(2) Quick sort C# code use the network trace, from msdn. - stone 字节流编码获取原来这么复杂,但也很简单 通过DataTable获得表的主键 让IE支持自己的协议
How to do live debug the Managed code in Windows Phone 7
stone · 2010-11-10 · via 博客园 - stone

How to do live debug the Managed code in Windows Phone 7

(Highlight part will be important)

Open 2 VS 2008, 1st instance is for PB, the other
is for your managed solution. (Please make sure the 2 instance works in same privilege, and I
suppose you have set signed the managed application which is in other words the
managed application can work on the device.)

1. Attach the 1st VS 2008 instance to device by
KITL

2. On
the 1st VS 2008 instance, load debugger by '>s loaddbg.exe' comman

3. Then on the 2nd VS2008 instance, select the device that
you create and connect in the 1st VS 2008 instance.

4. Click the ‘Connect to Device’ button

5. Wait until the connecting success.

6. (Optional) Then
you can set the debug approach for your managed application, say if your manage
code is launched by TUXNET

7. Set the breakpoint and press F5 to start debugging, the
Native code will be debugged in your 1st VS2008 instance, and the
managed code will be debugged in your 2nd VS2008 instance.

8. (Optional) if
you can’t successfully build the managed code, but you have the managed DLL,
PDB and source code ready, then what should I do?

a. In the 2nd VS 2008 instance, Tools
->Options… -> Debugging -> Symbols.

Set the symbols path as following:

b. Press F5 to start debugging(Please don’t care the build
fail error, and select the last time build result if it promotes, and watch the
1st VS2008’s CE log output window, if you can see the managed
application is launching, then that means it will work)