无法使用VS2010或VS2005和IE 10在asp应用程序中进行调试 [英] Not able to debug in asp application with VS2010 or VS2005 and IE 10
问题描述
我可以在更新之前调试asp app,即新版本。
我有VS 2010并在Windows 7终极版上更新了IE 10版。
我无法通过Debug-> stepINTO或Stepout或F10调试任何Web应用程序, F11。
我想在每个页面生命周期事件中调试并设置断点,但是当我点击f11时,页面渲染并且它不会在任何断点上停止。
请帮助我,我尝试了所有选项,并在网上搜索或提供其他解决方案,如果这样,只有我想调试我的appliaction。
protected void Page_PreInit(object sender,EventArgs e)
{Response.Write(" Page_PreInit" +"< br />" ); }
protected void Page_Init(object sender,EventArgs e)
{Response.Write(" Page_Init" +"< br />"); }
protected void Page_InitComplete(object sender,EventArgs e)
{Response.Write(" Page_InitComplete" +"< br />"); }
protected void Page_PreLoad(object sender,EventArgs e)
{Response.Write(" Page_PreLoad" +"< br />"); }
protected void Page_LoadComplete(object sender,EventArgs e)
{Response.Write(" Page_LoadComplete" +"< br />"); }
I was able to debug asp app before updating ie to new version.
I have VS 2010 and updated IE version 10 on windows 7 ultimate.
I am not able to debug any web application by Debug->stepINTO or Stepout or F10, F11.
I want to debug and put break point on each page life cycle event, But When I hit f11, Page render and it is not stopping on any breakpoint.
PLEASE help me I tried all option and searched on net also or provide other solution to get rid if this , Only I want to debug my appliaction.
protected void Page_PreInit(object sender, EventArgs e)
{ Response.Write("Page_PreInit" + "<br/>"); }
protected void Page_Init(object sender, EventArgs e)
{ Response.Write("Page_Init" + "<br/>"); }
protected void Page_InitComplete(object sender, EventArgs e)
{ Response.Write("Page_InitComplete" + "<br/>"); }
protected void Page_PreLoad(object sender, EventArgs e)
{ Response.Write("Page_PreLoad" + "<br/>"); }
protected void Page_LoadComplete(object sender, EventArgs e)
{ Response.Write("Page_LoadComplete" + "<br/>"); }
推荐答案
如果你想在本地调试那么
检查此 [ ^ ]
如果在IIS上部署后 - 转到这里 [ ^ ]
If you want debug locally then
check this[^]
If after deploying on IIS - Go here[^]
这篇关于无法使用VS2010或VS2005和IE 10在asp应用程序中进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!