I need to remotely debug a console app written in vb.net. The process runs
in around 2 seconds, so I can't attach to this process. How do I debug this?
thanks
"Gary Chang" - 22 Jun 2004 08:10 GMT
Hi,
I suggest you should let the VB.NET console app
sleep(System.Threading.Thread.Sleep) some time at the start-up, to let your
VS.NET debugger attached on it...
Thanks!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
John Phillips - 22 Jun 2004 13:55 GMT
Not really familiar with the mechanics of remote debugging, but does the
topic "Launching the Debugger Automatically" in MSDN
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/ht
ml/vxtskLaunchingDebuggerAutomatically.asp) help at all?

Signature
John Phillips
MVP - Windows SDK
> I need to remotely debug a console app written in vb.net. The process runs
> in around 2 seconds, so I can't attach to this process. How do I debug this?
>
> thanks
TS - 22 Jun 2004 22:12 GMT
thanks all, the sleep seems to work well
> I need to remotely debug a console app written in vb.net. The process runs
> in around 2 seconds, so I can't attach to this process. How do I debug this?
>
> thanks