all groups > visual studio .net debugging > june 2004 >
You're in the

visual studio .net debugging

group:

remote debug a process that hasn't yet started



remote debug a process that hasn't yet started TS
6/21/2004 1:22:07 PM
visual studio .net debugging: 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

RE: remote debug a process that hasn't yet started v-garych NO[at]SPAM online.microsoft.com (
6/22/2004 7:10:08 AM
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

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Re: remote debug a process that hasn't yet started John Phillips
6/22/2004 8:55:53 AM
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?


--
John Phillips
MVP - Windows SDK



[quoted text, click to view]

Re: remote debug a process that hasn't yet started TS
6/22/2004 4:12:15 PM
thanks all, the sleep seems to work well


[quoted text, click to view]

AddThis Social Bookmark Button