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

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

问题描述

我尝试按照此 MDSN 演练.符号缓存设置正确,检查启用 .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 文件的位置.错误信息是你需要找到.cs来查看当前调用栈帧的源码调试器找不到源文件.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 神秘地使一切正常.希望你也一样

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