找不到用于调试.NET源代码的.cs文件 [英] Cannot find .cs files for debugging .NET source code

查看:160
本文介绍了找不到用于调试.NET源代码的.cs文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试按照以下 MDSN演练设置调试.NET源代码。正确设置了符号缓存,并选中了启用.NET Framework源代码步进复选框。

I tried setting up debugging the .NET source by following this MDSN walkthrough. The Symbol cache is setup properly, as is the check 'Enable .NET Framework source stepping'.

但是随后,每当我要进入.NET代码时,系统都会提示我指定相关cs文件的位置。错误消息是
您需要找到< filename> .cs才能查看当前调用堆栈帧的源调试器找不到源文件< filename> .cs

But subsequently, whenever I want to step into .NET code, I am prompted to specify the location of the relevant cs file. The error message is You need to find <filename>.cs to view the source for the current call stack frame and The debugger could not locate the source file <filename>.cs.

我可以浏览文件(但我没有它)或查看反汇编(但我不想要这样)。

I am offered to browse for the file (but I don't have it) or view a disassembly (but I don't want that).

如何进入.NET源代码?

How to step into the .NET source code?

推荐答案

检查工具-> 选项-> 调试-> 常规-> 启用源服务器支持神秘地使一切正常运行。希望您也是如此

Checking Tools -> Options -> Debugging -> General -> Enable source server support mysteriously made everything work. I hope the same is true for you

这篇关于找不到用于调试.NET源代码的.cs文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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