无法调试 - “断点当前不会受到打击。没有为此文档加载符号“ [英] Can't debug - "The breakpoint will not currently be hit. No symbols have been loaded for this document"

查看:72
本文介绍了无法调试 - “断点当前不会受到打击。没有为此文档加载符号“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在主题行中收到错误。我在服务器2k3sp2上运行vs2k8。我已经尝试删除pdbs,缓存目录,验证调试是否在特定页面上设置。有趣的是其他页面调试正常。只是当我去这一页。必须是配置问题,但是页面指令如下所示:

I'm getting the error in the subject line. I'm running vs2k8 on server 2k3sp2. I've tried deleting the pdbs, cache directories, verifying that debugging is set up on the specific page. The interesting thing is other pages debug just fine. Just when I go to this one page. Must be a configuration issue but the page directive looks like this:

print(<%@ Page Language ='C#'AutoEventWireup ='true'CodeBehind ='MemberSearch .aspx.cs'Inherits ='SurencyPortal.EmployerPortal.MemberSearch'Debug ='true'%>);

print("<%@ Page Language='C#' AutoEventWireup='true' CodeBehind='MemberSearch.aspx.cs' Inherits='SurencyPortal.EmployerPortal.MemberSearch' Debug='true' %>");

我也注意到,当调试时,如果我打开模块窗口,几乎所有符号都显示'Symbol not loaded'的状态。然而,在下面的msdn文章进行了更多的研究之后,其中一个MSFT帖子表示,如果它是一个核心的.net dll,它将不会加载符号,所以我不担心。一些微软模块(如System.Enterpricesservices.wrapper.dll)显示一个感叹号,并显示模块未在默认加载地址处加载的消息。不知道为什么这个dll是在那里,因为我不知道有任何呼叫。

I've also noticed that when debugging, if I open the modules window, almost all of the symbols show a status of 'Symbol not loaded'. However, after more research from the msdn article below, one of the MSFT posts said that if it's a core .net dll, it will not load symbols so I'm not worried about that. Some of the microsoft modules (like System.Enterpricesservices.wrapper.dll) show an exclamation point with the message 'the module did not load at the default load address'. Not sure why that dll is there as I don't know of any calls to it.

这是我尝试过的东西:

调试时未挂接断点在VS.Net 2005

http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/557fdedb-268e-48a8- 9944-29b2b4e0dec2 /#page:3

Bill

推荐答案

我曾遇到这样的问题的唯一时间是如果我在项目处于发布模式时尝试调试。

The only time I've ever run into an issue like this is if I was trying to debug while the project was in release mode.

这篇关于无法调试 - “断点当前不会受到打击。没有为此文档加载符号“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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