debugger not automatically attaching aspnet_wp.exe as a debugged process

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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




    Mark Kamoski Guest

  2. Similar Questions and Discussions

    1. Must manually attach to ASPNET_WP process to debug ASP.NET code
      We're using Visual Studio 2003 .NET (C#) on Windows XP Pro SP2. We have a smart client (WinForms) application that calls an ASP.NET web service. On...
    2. The process aspnet_wp is a surviver !
      Hi. I am trying to use a treeview - after a few attempts, it works, but only up to a point - my exercise was to dynamically create nodes in the...
    3. aspnet_wp process recycles itself
      Hi, We have a webservice in c# which makes use of XML and COM objects. The MemoryLimit in processModel in machine.config is set to the default of...
    4. Way to automatically recycle aspnet_wp work process when close to 100% CPU for certain period of time?
      I have a server setup that is dedicate to providing a "proxy" by exposing a web service that calls methods in a 3rd party ActiveX control and then...
    5. worker process aspnet_wp.exe identity
      If the woker process is configured to be run under username="machine" in machine.config and impersonate=true under web.config, will the impersonated...
  3. #2

    Default RE: debugger not automatically attaching aspnet_wp.exe as a debugged process

    Hi Mark,

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

    Jim Cheshire [MSFT]
    Developer Support
    ASP.NET
    [email]jamesche@online.microsoft.com[/email]

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

    --------------------
    >Reply-To: "Mark Kamoski" <mkamoski@yahoo.com>
    >From: "Mark Kamoski" <mkamoski@yahoo.com>
    >Subject: debugger not automatically attaching aspnet_wp.exe as a debugged
    process
    >Date: 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: <#HKLOjHWDHA.208@tk2msftngp13.phx.gbl>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >NNTP-Posting-Host: 12.0.36.32
    >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164266
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    >
    >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
    >
    >
    >
    >
    >
    Jim Cheshire [MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139