Re: stop debugging in VS 2005

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If you go to the Debug menu, there's a Detach All option. Use that to leave the process running.

Regards,
Brian

"Coward 9" <Coward9@xxxxxxxxx> wrote in message news:6df7aaef-9c3c-4cdc-bbc3-cbfdc0194ce8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HI,

I use VS 2005 Tools | Attach to process... to debug other external
applications, such as Notepad. However, the process being debugged
will be termined also when I "stop debugging" Visual studio.
According to MSDN, this should NOT be the case.

What am I doing wrong? Is there anyway not to terminate process being
debugged while I stop debugging using Visual Studio?

Thank you,


http://msdn.microsoft.com/en-us/library/406kfbs1.aspx

To stop debugging
From the Debug menu, choose Stop Debugging.

Stop Debugging terminates the process you are debugging if the program
was launched from Visual Studio. If you attached to the process,
instead of launching it from Visual Studio, the process continues
running. If you want to terminate attached processes, you can
terminate a single process from the Processes window or terminate all
attached process with the Terminate All command.

To terminate all attached processes debugging
From the Debug menu, choose Terminate All.


.



Relevant Pages

  • RE: debugger doesnt stop at breakpoint while debugging SQLCLR functio
    ... It seems remote debugging component was not installed during Visual Studio ... I click Step into Function and I am able to debug the function step by step. ... Stored Procedure is in separate assembly which is created in SQL Server ...
    (microsoft.public.vsnet.debugging)
  • Unable to debug after installing VS2005
    ... I am unable to debug Visual Studio 2003 projects after installing Visual ... Error while trying to run project: Unable to start debugging on the web ... When I try to manually attach to the process, this is the error I get: ...
    (microsoft.public.vsnet.debugging)
  • RE: VS2005: Local debugger not able to start for any program
    ... the only way to terminate the process is to close Visual Studio ... Stop Debugging in Progress... ... My machine is Windows XP SP2. ...
    (microsoft.public.vc.debugger)
  • Re: debug/release
    ... > Being new to dotnet from VB6 could someone please explain the ... Visual Studio -- Debugging ... > debug version? ...
    (microsoft.public.dotnet.languages.vb)
  • stop debugging in VS 2005
    ... will be termined also when I "stop debugging" Visual studio. ... instead of launching it from Visual Studio, ... If you want to terminate attached processes, ...
    (microsoft.public.vsnet.debugging)