Wierd situation here. Running ASP.NET 1.1 on Win2003. 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
--
----------------------------------------
-AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp 7 1790
AC [MVP MCMS] wrote: Wierd situation here. Running ASP.NET 1.1 on Win2003. 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
Refresh my memory (I don't have a PC w/ VS handy), is this setting tied
to web.config (i.e. updates it)?: http://support.microsoft.com/kb/306169/EN-US/
If so, meaning it's not a solution for you, I would first verify when
you build the debug version that the pdb files are created in the same
location as your dll(s). Otherwise, the motherload of most problems
like this can be found here: http://support.microsoft.com/default...en-us%3B306172
although most of those problems would result in your seeing an error
dialog box, which I didn't hear you mention.
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
ASP.NET debugging is enabled and you're correct, there aren't any error
messages that popup... it just never seems to really attach to the debug
process. The PDB files are there and have the same timestamp as the DLL's.
ANy other ideas?
--
----------------------------------------
-AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:ui*************@TK2MSFTNGP12.phx.gbl... AC [MVP MCMS] wrote: Wierd situation here. Running ASP.NET 1.1 on Win2003. 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
Refresh my memory (I don't have a PC w/ VS handy), is this setting tied to web.config (i.e. updates it)?:
http://support.microsoft.com/kb/306169/EN-US/
If so, meaning it's not a solution for you, I would first verify when you build the debug version that the pdb files are created in the same location as your dll(s). Otherwise, the motherload of most problems like this can be found here:
http://support.microsoft.com/default...en-us%3B306172
although most of those problems would result in your seeing an error dialog box, which I didn't hear you mention.
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
I forgot to mention this is Win2003 *SP1*, but I am pretty sure this was
happening before SP1 as wel.
--
----------------------------------------
-AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"AC [MVP MCMS]" <sw*********@gmail.com> wrote in message
news:eV**************@TK2MSFTNGP10.phx.gbl... Wierd situation here. Running ASP.NET 1.1 on Win2003. 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 -- ---------------------------------------- -AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
Make sure when you attach to the process that the Common Language Runtime
option is checked in the dialog that opens after you hit attach.
bill
"AC [MVP MCMS]" <sw*********@gmail.com> wrote in message
news:uu****************@TK2MSFTNGP14.phx.gbl... ASP.NET debugging is enabled and you're correct, there aren't any error messages that popup... it just never seems to really attach to the debug process. The PDB files are there and have the same timestamp as the
DLL's. ANy other ideas?
-- ---------------------------------------- -AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message news:ui*************@TK2MSFTNGP12.phx.gbl... AC [MVP MCMS] wrote: Wierd situation here. Running ASP.NET 1.1 on Win2003. 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
Refresh my memory (I don't have a PC w/ VS handy), is this setting tied
to web.config (i.e. updates it)?:
http://support.microsoft.com/kb/306169/EN-US/
If so, meaning it's not a solution for you, I would first verify when
you build the debug version that the pdb files are created in the same location as your dll(s). Otherwise, the motherload of most problems
like this can be found here:
http://support.microsoft.com/default...en-us%3B306172
although most of those problems would result in your seeing an error dialog box, which I didn't hear you mention.
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
Yup... done that... still no luck...
--
----------------------------------------
-AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"William F. Robertson, Jr." <th****@nameht.org> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... Make sure when you attach to the process that the Common Language Runtime option is checked in the dialog that opens after you hit attach.
bill
"AC [MVP MCMS]" <sw*********@gmail.com> wrote in message news:uu****************@TK2MSFTNGP14.phx.gbl... ASP.NET debugging is enabled and you're correct, there aren't any error messages that popup... it just never seems to really attach to the debug process. The PDB files are there and have the same timestamp as the DLL's. ANy other ideas?
-- ---------------------------------------- -AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message news:ui*************@TK2MSFTNGP12.phx.gbl... > AC [MVP MCMS] wrote: >> Wierd situation here. Running ASP.NET 1.1 on Win2003. 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 > > Refresh my memory (I don't have a PC w/ VS handy), is this setting tied to > web.config (i.e. updates it)?: > > http://support.microsoft.com/kb/306169/EN-US/ > > If so, meaning it's not a solution for you, I would first verify when you > build the debug version that the pdb files are created in the same > location as your dll(s). Otherwise, the motherload of most problems like > this can be found here: > > http://support.microsoft.com/default...en-us%3B306172 > > although most of those problems would result in your seeing an error > dialog box, which I didn't hear you mention. > > -- > Craig Deelsnyder > Microsoft MVP - ASP/ASP.NET
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.
--
----------------------------------------
-AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"AC [MVP MCMS]" <sw*********@gmail.com> wrote in message
news:eV**************@TK2MSFTNGP10.phx.gbl... Wierd situation here. Running ASP.NET 1.1 on Win2003. 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 -- ---------------------------------------- -AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
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/archiv...5/30/1278.aspx
--
----------------------------------------
-AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp
"AC [MVP MCMS]" <sw*********@gmail.com> wrote in message
news:eV**************@TK2MSFTNGP10.phx.gbl... Wierd situation here. Running ASP.NET 1.1 on Win2003. 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 -- ---------------------------------------- -AC [MVP MCMS] www.andrewconnell.com www.andrewconnell.com/mvp This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alexander Eisenhuth |
last post by:
Hi alltogether,
I use ActivePython 2.4.1 , also the debug part from
http://ftp.activestate.com/ActivePython/etc/ and VC 6.0 unter Windows XP.
I can't figure out howto debug my c++ extension....
|
by: asdf |
last post by:
Hello,
I was enjoying working in VS for half a year without any problems and
now I cannot debug anymore. Without any really reason my Studio tells me
that the page that I want to debug has - No...
|
by: Grant Schenck |
last post by:
Hello,
I built an MTA which is used from an ASA and ASP pages. The MTA was
developed in VC++ 6.0.
How would I go about debugging into the C++ code?
Thanks,
Grant Schenck
|
by: Cormac |
last post by:
Hi everyone,
I'm writing Pure Data externals in C++ using Ms Visual C++ 7.0 and
Windows2000. I'm running motions sensor hardware so there's a bit of
real time data processing involved.
When...
|
by: Wal Turner |
last post by:
Consider the following simple class:
public class ClassA
{
public static string VAR = "hello";
}
public void MethodA()
{
while(true)
|
by: |
last post by:
I'm starting up the development server myself and using the "Startup Url"
property of the web project. The problem is i cannot debug. The debug
symbols are never loaded. I realize they are under...
|
by: seenutn |
last post by:
Hi,
These questions are on C++ and Exceptions.
1) How can I debug through gdb to find the location where exception
occured (Putting a breakpoint in exception handler will not help me as
the...
|
by: js |
last post by:
Is it possible to change the web.config or machine.config file to allow
access to an .asp page? I'm new to .Net 2.0. Thanks.
I got error:
Server Error in '/xxx1' Application....
|
by: Ole |
last post by:
Hi,
Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug
my C# program from VS2005 - when setting a breakpoint I only see a ring
instead of the normal red dot and when...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |