Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I want to be able to capture debug events on a machine and transmit them to a logging server across a network.

 

I can handle everything except how do I subscribe to debug events on a machine. Obviously it can be done because applications like debug view do it, the question is.. Is there any reasonable way to do it in vb.net?

 

I asked a similar question back in January and to date it still has no responses. Is it just not possible for some reason?

Life is a comedy to those who think; a tragedy to those who feel.
  • Administrators
Posted

It is a bit trickier than it looks if you want to do this from a separate process - if so http://blogs.msdn.com/jmstall/archive/2005/02/04/367506.aspx is worth a look.

 

If you want to modify an existing application to redirect it's debug output then you want to look at tracelisteners - the built in ones will allow you to log to text and the console for starters.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

I am looking at it like this application A is running on a remote machine and outputting debug information,

 

application B listens to debug events and relays them to a remote server (kind of like using sysinternals debugview in client mode)

 

I am going to read through the blog and then post back if I still have questions, thanks.

Life is a comedy to those who think; a tragedy to those who feel.
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...