Visual Studio Express 无法调试 - “调试器未正确安装”

发布于 2024-08-13 07:17:53 字数 565 浏览 3 评论 0原文

我最近在我的笔记本电脑(运行 XP SP3)上安装了 Visual Web Developer 2008 Express Edition,为网站开发一些 c# .net 代码。一切似乎都运行良好,我可以编辑代码并且网站在 IIS 中运行...

当我按 F5 进行调试时,问题出现了。我收到以下错误消息:

“无法使用“VITCH2000”附加到应用程序“WebDev.WebServer.EXE”(PID:3520)。调试器未正确安装。无法调试请求的代码类型。运行安装程序进行安装或修复调试器”

我已经用谷歌搜索了错误消息,并花了几个小时尝试各种修复,但没有任何乐趣。调试器拒绝工作。我还修复了 .net 框架(2、3 和 3.5)并卸载/重新安装/修复了 Visual Web Developer 2008 Express Edition,但仍然存在相同的错误。

我还重新注册了 C:\Program Files\Common Files\Microsoft Shared\VS7Debug 中的 dll,甚至在卸载和重新安装之间将它们全部删除,但似乎没有任何帮助。

有谁知道我要运行哪个设置或使该调试器工作的方法?任何想法非常感谢!

I have recently set up Visual Web Developer 2008 Express Edition on my laptop (running XP SP3) to develop some c# .net code for a website. All seemed to be working great, I can edit code and the website runs in IIS...

The problem came when I hit F5 to debug. I get the following error message:

"Unable to attach to application 'WebDev.WebServer.EXE' (PID: 3520) using 'VITCH2000'. The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger"

I have googled the error message and spent hours trying various fixes but no joy. The debugger refuses to work. I also repaired the .net framework (2, 3 and 3.5) and uninstalled/ reinstalled/ repaired Visual Web Developer 2008 Express Edition but the same error remains.

I also re-registered the dlls in C:\Program Files\Common Files\Microsoft Shared\VS7Debug and even deleted them all between uninstalling and re-installing but nothing seems to help.

Does anyone know which setup I am meant to run or a way to make this debugger work? Any ideas much appreciated!

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

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

发布评论

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

评论(2

过期以后 2024-08-20 07:17:53

这只是一个猜测,但您可以尝试安装 Visual C# 2008 Express Edition,看看是否可以将 Web 项目导入该版本并从那里进行调试。我已经有一段时间没有使用 Express 版本了,但我似乎记得使用 Visual C# 2005 Express Edition 来运行 Web 应用程序。

This is just a shot in the dark, but you might try to install the Visual C# 2008 Express Edition and see if you can import your web project into that edition and debug it from there. Its been a while since I've worked with the Express editions, but I seem to recall using the Visual C# 2005 Express Edition to run web applications.

复古式 2024-08-20 07:17:53

我似乎有一个解决方案(某种程度)。我决定尝试使用“打开网站>本地IIS”来打开网站,而不是“打开网站>文件系统”。调试器现在可以工作了!!!耶!但这有一个缺点。有一堆第三方代码作为 IIS 中的虚拟目录链接到该站点。该网站现在需要更长的时间来编译,因为它似乎在启动网站之前编译(或至少错误检查)所有代码。有办法解决这个问题吗?

由于文件系统方法在我的台式计算机上正常工作,我还决定尝试将站点代码签出到计算机上的不同目录,并使用“打开网站 > 文件系统”打开该新文件夹。你猜怎么着?调试也正确!!所以看来我创建的特定项目的设置有问题。在 VS 的所有重新安装中,这些用户文件都没有被替换(即使在某一时刻我删除了整个“My Documents\Visual Studio 2008”目录。

任何想法如何删除初始的所有用户设置文件项目以便我可以从原始文件系统位置进行调试?

I seem to have a solution (of sorts). I decided to try using "Open Web Site > Local IIS" to open the website instead of "Open Web Site > Filesystem". The debugger now works!!! YAY! There is a downside to this though. There is a bunch of third party code linked in to the site as a virtual directory in IIS. The site now takes much longer to compile because it seems to compile (or at least error check) all of that code before launching the site. Is there a way around this.

Since the filesystem method was working correctly on my desktop computer I also decided to try checking out the site code to a different directory on my computer and using "Open Web Site > Filesystem" to open that new folder. Guess what? It also debugs correctly!! So it seems that there is something wrong with the settings for the specific project I created. And in all of the reinstalls of VS those user files haven't been replaced (even though at one point I deleted the entire "My Documents\Visual Studio 2008" directory.

Any ideas how I can delete all the user settings files for the initial project so that I can debug from the original filesystem location?

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