找不到用于调试 .NET 源代码的 .cs 文件

编程入门 行业动态 更新时间:2024-10-23 21:30:36
本文介绍了找不到用于调试 .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 文件

本文发布于:2023-11-03 15:48:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555489.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   源代码   文件   NET   cs

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!