If the code is written by you then you can always add the following line

System.Diagnostics.Debugger.Launch at any place and that would launch
the debugger.

I don't know whether you could do that if you don't have the source
code.

-----Original Message-----
From: Urs Eichmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 10:57 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Automatically attaching a .NET process to a debugger


Does anyone know if it's possible for a .NET EXE to attach itself
automatically to a .NET debugger when it starts (if there is a debugger
present on the machine)?

Thanks for any clues
Urs

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to