We help IT Professionals succeed at work.

Break Points when debugging remotely a ASP.net site Need clarification

boricua1213
boricua1213 asked
on
Medium Priority
256 Views
Last Modified: 2013-11-26
I got remote debugging working. :-)

But I notice I have to set all breakpoints first then debug.

I tried having no break points. Debug then after IE comes up set a break point. Refresh.  Does not break.

I tried adding a break point after it breaks does not break on the new break  point.

If I clear a breakpoint that was added before I debug then it does not break (as expected) but if I add it back in.  doesn't break.

So I figure that I have to set all break points I want before I start debugging.

Is this true or am I missing something?

Comment
Watch Question

Senior Web Developer
CERTIFIED EXPERT
Commented:
I also had similar issues sometimes back, when I the following it got worked properly.
    - Exit from VS 2005.
    - Delete all files inside C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
    - iisreset

You should build the whole web site as in the debug mode. (check datetime of all dll and pdb files)

But there are so many workarounds that different people have found out.
   http://forums.asp.net/t/1159642.aspx
   http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2680153&SiteID=1

Explore More ContentExplore courses, solutions, and other research materials related to this topic.