断点将目前尚未受到打击没有加载符号 [英] the breakpoint will not currently be hit no symbols loaded

查看:148
本文介绍了断点将目前尚未受到打击没有加载符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想客户机(在Windows Server 2003)上进行调试,跟踪问题,并出产品基于.NET 2.0。我想用DbgCLR.exe调试文件中的 AAA.dll ,我所做的是:

I want to debug on the customer's machine (Windows Server 2003) to track a problem, and out product is based on .NET 2.0. I want to use DbgCLR.exe to debug a file AAA.dll, what I did is:

  1. 在客户的计算机上安装.NET 2.0 SDK(获取DbgCLR.exe)
  2. 符号文件AAA.pdb复制与AAA.dll相同的目录
  3. 获取源文件AAA.dll

在AAA.dll将被载入的w3wp.exe ,所以在DbgCLR

the AAA.dll will be loaded by w3wp.exe, so in the DbgCLR

  1. 工具 - >附加到进程的话,我选择的的w3wp.exe
  2. 文件 - >打开 - >文件打开源文件并在其中将callled功能添加断点

但断点似乎做任何工作,因为那里是它的一个警告图标,并说:断点将目前尚未受到打击。无符号已加载这个文件。

but the breakpoint seems do no work because there is an warning icon on it and says : the breakpoint will not currently be hit. No symbols have been loaded for this document.

在我的计算机(Windows XP),其具有的全部源$ C ​​$ C,我做了如上几乎相同的事情,但不同的是调试版本: 我连着 ASPNET_WP.EXE 做调试和它的作品

On my computer (Windows XP) which has the debug version of whole source code, I did nearly the same thing as above but the different is: I attached aspnet_wp.exe to do the debug and it works

我该怎么做才能让它的客户机器上运行?

What should I do to let it work on the customer's machine?

推荐答案

转到调试/窗/模块。找到AAA.dll,右键单击并选择加载符号。

Go to Debug / Windows / Modules. Find the AAA.dll, right click and select Load Symbols.

另外,您可能需要禁用JustMy code在工具/选项/调试。

Also, you may need to disable JustMyCode in Tools / Options / Debugging.

这篇关于断点将目前尚未受到打击没有加载符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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