二进制文件没有使用调试信息构建 [英] Binary was not built with debug information

查看:19
本文介绍了二进制文件没有使用调试信息构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Visual Studio 2013、.Net Framework 4.0 和 C#.

I am using Visual Studio 2013, .Net Framework 4.0, and C#.

我正在尝试调试项目中的文件.我将项目设置为在项目属性中调试构建,未选中优化".然而,每当我尝试调试这个项目时,它都无法加载符号.所以我去模块窗口加载符号,dll的优化"列设置为是",用户代码"列设置为否",消息二进制未使用调试信息构建"在符号状态列中.

I am trying to debug a file in my project. I have the project set to debug build in the project properties, with "optimize" unchecked. And yet, whenever I try to debug this project, it can't load the symbols. So I go to the modules window to load the symbols, and the dll has "Optimized" column set to "Yes", the "User Code" column set to "No", and the message "Binary was not built with debug information" in the Symbol Status column.

我已经多次清理和重建,重置iis,手动清理临时asp.net文件,无济于事.

I have cleaned and rebuilt, reset iis, and manually cleaned out the temporary asp.net files numerous times, with no avail.

有人知道如何解决这个问题吗?

Anybody know how to solve this?

推荐答案

您尝试调试的 dll 很可能没有内置在您的解决方案中.您需要找到它的构建位置并获取调试版本(或至少是带有 pdb 符号文件的发布版本).

The dll you are trying to debug most probably is not being built in your solution. You need to locate where it is being built and obtain a debug version (or at least a release version with the pdb symbol file).

这篇关于二进制文件没有使用调试信息构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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