二进制文件没有调试信息的情况 [英] Binary was not built with debug information

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

问题描述

我使用Visual Studio 2013,.Net框架4.0,和C#。

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

我试图调试在我的项目中的文件。我有项目设置在项目属性调试版本,以优化选中。然而,每当我尝试调试这个项目,它不能加载的符号。所以我去的模块窗口加载符号,和DLL已经优化一栏设置为是,用户code列设置为否,消息二进制不是内置调试信息中的符号状态列。

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天全站免登陆