PrOpHeT Posted July 3, 2008 Posted July 3, 2008 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? Quote Life is a comedy to those who think; a tragedy to those who feel.
Administrators PlausiblyDamp Posted July 3, 2008 Administrators Posted July 3, 2008 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
PrOpHeT Posted July 3, 2008 Author Posted July 3, 2008 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. Quote Life is a comedy to those who think; a tragedy to those who feel.
PrOpHeT Posted July 18, 2008 Author Posted July 18, 2008 Just in case someone has a similar problem, I found the solution here (more so had it graciously pointed out in the other forum) http://www.codeproject.com/KB/trace/DbMonNET.aspx (Almost like it was written specifically to answer my question ;)) Quote Life is a comedy to those who think; a tragedy to those who feel.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.