Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / June 2004

Tip: Looking for answers? Try searching our database.

remote debug a process that hasn't yet started

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TS - 21 Jun 2004 19:22 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.