Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / May 2005

Tip: Looking for answers? Try searching our database.

DEBUG fails to trap/catch on breakpoint...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AC [MVP MCMS] - 25 May 2005 11:27 GMT
Wierd situation here.  Running ASP.NET 1.1 on Win2003 SP1.  I have to
manually
attach the debugger to a process in order to debug.  So I set a breakpoint
in an obvious place (like within the Page.Load event) that will catch it.
For Win2003, I attach to the w3wp.exe process.

I've made sure my project is building as DEBUG.
I've made sure the breakpoint it reachable.
I've made sure my web.config has debug=true.

But when I run through the page, the breakpoint remains with the question
mark within the left margin of the code behind.

Why wouldn't VS.NET break on the breakpoint?  Based on the question mark in
the margin, I'm assuming VS.NET isn't attaching to the process.  What could
cause this?

Thanks in advance

Signature

----------------------------------------
-AC [MVP MCMS]
www.andrewconnell.com
www.andrewconnell.com/mvp

AC [MVP MCMS] - 25 May 2005 17:45 GMT
Little more info to make it even more wierd:

Manually attaching to the w3wp.exe didn't work (skipps the breakpoint).

Automatically jumping into debug mode by hitting F5 does stop at the
breakpoint.

Have opened a PSS case on this and will post my results.

Signature

----------------------------------------
-AC [MVP MCMS]
www.andrewconnell.com
www.andrewconnell.com/mvp

> Wierd situation here.  Running ASP.NET 1.1 on Win2003 SP1.  I have to
> manually
[quoted text clipped - 16 lines]
>
> Thanks in advance
AC [MVP MCMS] - 30 May 2005 18:05 GMT
It was such an obscure fix, I decided to throw it up on my blog for others
who may have this issue.
http://andrewconnell.com/blog/archive/2005/05/30/1278.aspx

Signature

----------------------------------------
-AC [MVP MCMS]
www.andrewconnell.com
www.andrewconnell.com/mvp

> Wierd situation here.  Running ASP.NET 1.1 on Win2003 SP1.  I have to
> manually
[quoted text clipped - 16 lines]
>
> Thanks in advance
SEO WOO SEOK - 31 May 2005 00:49 GMT
Thanks for the tip and I want to say goodbye to your PSS ticket that you
used to resolve the problem. :-)

Signature

--------------------
Çѱ¹°úÇбâ¼ú¿ø(KAIST) ¼ÒÇÁÆ®¿þ¾î Àü¹®°¡ °úÁ¤
All about the debugging, DebugLab.com!! (http://www.debuglab.com)
Blogs (http://msmvps.com/smile)
Microsoft 2002 ~ 2005 C# .NET MVP
Member of INETA.org

> It was such an obscure fix, I decided to throw it up on my blog for others
> who may have this issue.
[quoted text clipped - 21 lines]
>>
>> Thanks in advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.