使用iTrace调试线程(IntelliTrace文件) [英] Debugging Threads with iTrace (IntelliTrace File)

查看:74
本文介绍了使用iTrace调试线程(IntelliTrace文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用VS 2010 Ultimate Edition并开发了一个示例应用程序.我曾使用IntelliTrace exe驻留在下面的系统路径下来创建IntelliTrace日志,并成功创建了该日志.

I have been using VS 2010 Ultimate Edition and developed an sample application. I had used IntelliTrace exe reside under the below system path to create the IntelliTrace log and it was successfully created.

C:\ Program Files \ Microsoft Visual Studio 10.0 \ Team Tools \ TraceDebugger工具

C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools

打开使用IntelliTrace exe创建的iTrace文件时,已显示IntelliTrace摘要页面.我已经添加了以下链接中提到的符号信息

IntelliTrace Summary page has been displayed while opening the iTrace file created using IntelliTrace exe. I have added the Symbols information as mentioned in the below link

https://msdn.microsoft.com/zh-cn/library/ms241613.aspx?f=255&MSPPError=-2147217396

https://msdn.microsoft.com/en-us/library/ms241613.aspx?f=255&MSPPError=-2147217396

我的问题是,当我双击IntelliTrace摘要的ThreadList中的线程而不是转到该线程的最后状态时,我导航至Disassembly或No source Available页面.

My problem here is, when I double click on the Threads in the ThreadList of the IntelliTrace Summary instead of going of the last state of that threads I navigate to either Disassembly or No source Available page.

它显示以下错误之一,

1.无法拆卸

2.没有为任何调用堆栈帧加载任何符号.源代码无法显示.

2.No symbols are loaded for any call stack frame. The source code can not be displayed.

同时,如果我开始在异常数据"中调试异常,它将导航到相应的源代码.

At the same time if I start debugging exception in the Exception Data, it ll navigate to respective source code.

请对此提供建议.

如果可能,请提供给我链接以设置环境以调试IntelliTrace日志.

If possible please provide me the link to setup the environment to debug the IntelliTrace log.

推荐答案

Manojkumar Panneer,

Hi Manojkumar Panneer,

在调试IntellItrace日志时,请检查调试模块"窗口,以便我们知道哪些符号文件确实会影响调试结果.

Please check the Debug Modules window during you debug your IntellItrace log, so we could know that which symbol files really impact the debugging result.

您还可以在模块"窗口中手动添加特定的符号文件.

You could also add the specific symbols files manually in the Modules window.

https://msdn.microsoft.com/en-us/library/4c8f14c9.aspx

请启用Microsoft Symbol Server:

Please enable the Microsoft Symbol Servers:

工具->选项->调试->符号->检查"Microsoft符号服务器"和所有模块,除非排除在外".

Tool->Options->Debugging->Symbols->Check "Microsoft Symbol Servers" and "All modules, unless excluded".

或与此线程类似:

http://stackoverflow.com/questions/3282136/why-doesnt-intellitrace -显示代码

它实际上没有该线程的源代码,我们经常使用反汇编窗口:

It really has no source code for that thread, we often use the Disassembly Window instead:

https://msdn.microsoft.com/en-us/library/3sehk0fb.aspx

最好的问候,

杰克


这篇关于使用iTrace调试线程(IntelliTrace文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆