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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog

博客园 - 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)