Windows 7/64位中带有IIS 7.5的自动附加调试器VS .net 2005 [英] Auto Attach Debugger VS .net 2005 in Windows 7/64bit with IIS 7.5

查看:76
本文介绍了Windows 7/64位中带有IIS 7.5的自动附加调试器VS .net 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行IIS 7.5的Windows 7 64位开发工作站.我正在尝试使用Visual Studio 2005为ASP.NET 2.0应用程序设置调试.
如果我附加到w3wp.exe进程,则能够成功调试,但是我不能仅通过启动调试器(按F5)来进行调试.当我按F5键时,IE将打开并加载Web项目的主页,但未附加调试器(我的所有断点均未停止执行).启动调试器后,在输出窗口中显示以下行:
有人可以帮我弄清楚如何在此环境中进行简单调试(按F5键)吗?

I have a windows 7 64 bit development workstation running IIS 7.5. I am trying to setup debugging for an ASP.NET 2.0 application using Visual Studio 2005.
I am able to debug successfully if I attach to the w3wp.exe process, but I cannot debug by just simply launching the debugger (pressing F5). When I press F5 IE opens and loads the main page of my web project, but the debugger is not attached (none of my breakpoints stop execution). In the output window after I launch the debugger I have this line:
Can someone help me figure out how to get simple debugging (pressing F5) to work in this environment?

推荐答案

幸运的是,我找到了解决方案. 用于将调试器与Asp.Net和Visual Studio 2005附加在一起
您必须先关闭Microsoft Internet Explorer的所有窗口,然后才能开始调试应用程序
Fortunately I found the solution for that.
For attaching Debugger with Asp.Net and Visual Studio 2005
you have to close all windows of Microsoft internet explorer before start debugging the application


我尝试使用管理员,但未附加调试器
输出窗口以
结尾 程序"[5632] w3wp.exe:托管"已退出,代码为0(0x0).
I tried using administrator but it didn''t attach the debugger
the out put window ended with
The program ''[5632] w3wp.exe: Managed'' has exited with code 0 (0x0).


这篇关于Windows 7/64位中带有IIS 7.5的自动附加调试器VS .net 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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