I'm running ASP.NET on Visual Studio 2005, and I am not able to step through my break points when I run my application in "Debug" mode. I set the break points, run the application, and Visual Studio simply ignores them.
I have gone through all of the configuration settings and project properties to see if their is something obvious that needs to be turned "on" - but I don't see anything.
What would be the most logical settings or references to look at?
Please don't forget to mark this as "ANSWER." Good luck and happy coding!
The debug property wasn't set in either the page directive, or web config, but I tried setting them to "true" anyway. That didn't work, however. I am running XP Pro - not Vista, by the way...
Please don't forget to mark this as "ANSWER." Good luck and happy coding!
I noticed something in your article that I figured might be worth trying:
"If you opened multiple instances of IE8 and you attempt to debug your project, you mostly will have the issue where VS debugger just stops and ignores your break points!"
When I close all open instances of IE, I am able to debug the project, and the break points are now working in Visual Studio... I don't believe I'm running IE8 yet, though - because I still get the prompts to upgrade to that version of IE when
I start XP... I am going to apply the fix and see if that is the long-term solution to my problem.
Please don't forget to mark this as "ANSWER." Good luck and happy coding!
That did it. I added the "TabGrowth" registry setting under Software > Microsoft > IE in the editor, and I am now able to debug while running multiple instances of IE.
Please don't forget to mark this as "ANSWER." Good luck and happy coding!
compguy2100
Participant
1331 Points
263 Posts
Break points not working in "Debug" mode
Mar 05, 2010 10:07 AM|LINK
I'm running ASP.NET on Visual Studio 2005, and I am not able to step through my break points when I run my application in "Debug" mode. I set the break points, run the application, and Visual Studio simply ignores them.
I have gone through all of the configuration settings and project properties to see if their is something obvious that needs to be turned "on" - but I don't see anything.
What would be the most logical settings or references to look at?
Thank you!
karthicks
All-Star
31382 Points
5424 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 11:14 AM|LINK
hi, ensure you dont have debug=false in web.config and also in page directive,
if your OS is vista then you have run your visual studion as "Administrator" to do that
in programs right click the visual studio item and choose "Run As Administrator"
Karthick S
Abdulla.Abde...
Contributor
5538 Points
871 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 11:56 AM|LINK
Did you installed IE8 ?
check this out
http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx
Abdulla Abdelhaq .NET/SharePoint Team Leader
My Articles
blog
compguy2100
Participant
1331 Points
263 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 12:06 PM|LINK
The debug property wasn't set in either the page directive, or web config, but I tried setting them to "true" anyway. That didn't work, however. I am running XP Pro - not Vista, by the way...
Thank you!
Abdulla.Abde...
Contributor
5538 Points
871 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 12:07 PM|LINK
Did you installed IE8 ?
Abdulla Abdelhaq .NET/SharePoint Team Leader
My Articles
blog
compguy2100
Participant
1331 Points
263 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 12:13 PM|LINK
Ironically, no, I'm not running IE 8 on this box, yet. But that is certainly good to know for reference...
Thank you!
compguy2100
Participant
1331 Points
263 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 12:32 PM|LINK
I noticed something in your article that I figured might be worth trying:
"If you opened multiple instances of IE8 and you attempt to debug your project, you mostly will have the issue where VS debugger just stops and ignores your break points!"
When I close all open instances of IE, I am able to debug the project, and the break points are now working in Visual Studio... I don't believe I'm running IE8 yet, though - because I still get the prompts to upgrade to that version of IE when I start XP... I am going to apply the fix and see if that is the long-term solution to my problem.
Thank you!
compguy2100
Participant
1331 Points
263 Posts
Re: Break points not working in "Debug" mode
Mar 05, 2010 12:54 PM|LINK
That did it. I added the "TabGrowth" registry setting under Software > Microsoft > IE in the editor, and I am now able to debug while running multiple instances of IE.
Thank you!