进入函数时找不到文件系统错误

发布于 2024-08-19 07:37:57 字数 214 浏览 3 评论 0原文

在运行一些代码时,我收到一个未找到文件且未指定文件位置或文件名的异常。如果我中断,我可以看到报告错误的函数。我可以在调用该函数之前到达断点,但无法在不引发异常的情况下进入该函数。该函数位于同一个类和 C# 代码文件中。该项目过去引用其他项目时存在问题。是否由于函数中的 with 调用而导致范围或延迟加载问题?

Visual Studio 2008,C#

欢迎任何想法,寻求答案。

While running some code I am getting a unhanded exception for file not found with no file location or file name specified. If I break I can see the function that the error is being reported from. I can reach break points before where that function is called but can't enter into the function with out the exception being thrown. The function is in the same class and C# code file. There were issues with references to other projects in the past with this project. Could it an issue of scope or delayed loading because of calls made from with in the function?

Visual Studio 2008, C#

Any ideas welcome, Answers wanted.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧情勿念 2024-08-26 07:37:57

您可以尝试使用 Sysinternals 的 Procmon。它可以为您提供有关正在运行的进程的大量有用信息,包括所有文件访问尝试。

You could try using Procmon from Sysinternals. It can give you loads of useful information about a running process, including all file access attemps.

往日 2024-08-26 07:37:57

查看 fuslogvw 是否抱怨缺少程序集

look to see if fuslogvw is complaining about any missing assemblies

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文