473,587 Members | 2,568 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

debugger not automatically attaching aspnet_wp.exe as a debugged process


Hi--

All of sudden (?) the VS.NET v1 IDE is NOT automatically attaching
aspnet_wp.exe as a debugged process.

Why?

Here is the situation.

VS.NET (v1)

Framework (latest version)

VB.NET code

ASP.NET application

Run code in IDE by choosing >Debug, >Start.

Code launches.

Go to the IDE, choose >Debug, >Processes.

The process "aspnet_wp. exe" is listed in the "Available Processes" list but
it is NOT listed in the "Debugged Processes" list.

It should be in the "Debugged Processes" list automatically!! !

As a result, the code will NOT hit any breakpoints.

How can this be fixed?

(Note that I know that I can select "aspnet_wp. exe" in the "Available
Processes" list and choose >Attach, >Common Language Runtime, and the
breakpoints will work and the process will become listed in the "Debugged
Processes" list. However, one should not have to set this manually every
time.)

Any ideas?

Please advise.

Thank you very much.

--Mark


Nov 17 '05 #1
1 4708
Hi Mark,

In your project properties, do you have ASP.NET Debugging enabled?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Reply-To: "Mark Kamoski" <mk******@yahoo .com>
From: "Mark Kamoski" <mk******@yahoo .com>
Subject: debugger not automatically attaching aspnet_wp.exe as a debugged processDate: Fri, 1 Aug 2003 18:03:51 -0400
Lines: 50
Organization : Mark Kamoski
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#H************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: 12.0.36.32
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1642 66
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
Hi--

All of sudden (?) the VS.NET v1 IDE is NOT automatically attaching
aspnet_wp.ex e as a debugged process.

Why?

Here is the situation.

VS.NET (v1)

Framework (latest version)

VB.NET code

ASP.NET application

Run code in IDE by choosing >Debug, >Start.

Code launches.

Go to the IDE, choose >Debug, >Processes.

The process "aspnet_wp. exe" is listed in the "Available Processes" list but
it is NOT listed in the "Debugged Processes" list.

It should be in the "Debugged Processes" list automatically!! !

As a result, the code will NOT hit any breakpoints.

How can this be fixed?

(Note that I know that I can select "aspnet_wp. exe" in the "Available
Processes" list and choose >Attach, >Common Language Runtime, and the
breakpoints will work and the process will become listed in the "Debugged
Processes" list. However, one should not have to set this manually every
time.)

Any ideas?

Please advise.

Thank you very much.

--Mark



Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1594
by: Saradhi | last post by:
Here I am back with the same question again. I am trying to attach my process to the .NET Debugger to debug my process. and I am using the folliwng code. if ( !(applicationObject.Debugger.DebuggedProcesses == null) ) { // My process ID int processId = ((ExtensibilityEngine)m_ExtensibilityEngine).ProcessID; foreach(Process p1 in...
0
1204
by: Yanick Masse | last post by:
I'm writing an MFC ActiveX control and some C function expose in a DLL that will be used in Visual Basic .NET and Visual C#. I want to detect in my code if we are currently beeing debugged by any debugger (Managed and Unmanaged debugger.). Previously, we were using the win32 IsDebuggerPresent() method. This method always returns false...
4
5165
by: Andy | last post by:
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically attach to it again.
0
1203
by: Jim Heavey | last post by:
Hello, I'm having a problem with running the Debugger on Windows 2000 Pro workstation. The help says that there are version of windows in which the debugger is not automatically attached, but it does not bother telling me what version of windows this occurs on. So does the debugger automatically attach for Windows 2000 pro workstation? ...
2
1187
by: Leo | last post by:
I have to debug my web application. How to attach ASPNET worker process... It is urgent. -- Leo
1
1037
by: the_kiddie98 | last post by:
Hi, I am building an aspx handler application which works fine. The problem arises when I try to attach to aspnet_wp. Sometimes (rarely) after clicking "OK" on attach to process the window takes a while to close (delay) and the breakpoints in the application are hit. Mostly though the "attach the process" dialog closes and I can see the...
2
1511
by: seagul01729 | last post by:
Does a debugger runs at the same address space of the program it's debugging ? Can someone briefly explain how it works.for e.g: gdb
0
1112
by: NancyASAP | last post by:
Using VS 2003 .NET 1.1. Debugging works fine except under one condition. In my code, I instantiate an object that references a vendor .NET assembly wrapping a COM object. Debugging works up to the point in code where I execute a method on that object (myObj.StartPrinting). After line executing the method, all debug breakpoints cease to...
0
1202
by: Arpan | last post by:
What is the use of the CLR Debugger (that comes with the .NET Framework SDK) when the same debugging can be done using the debugger feature in Visual Web Developer 2005 Express Edition? The ASP.NET book I am referring to learn ASP.NET says the following: ---------- Open the file you want to debug in the CLR Debugger. To attach the...
0
7918
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.