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

visual studio .net debugging

group:

Capturing another apps TraceOuptut


Capturing another apps TraceOuptut jdmcfadden
6/22/2004 6:37:01 PM
visual studio .net debugging:
RE: Capturing another apps TraceOuptut Neal Miller
6/22/2004 6:49:01 PM
While there may be a more elegant way, you can just output the stack trace to a file or a database table, and have it read by the other app. Not optimal, I know, but you have a somewhat unusual design requirement.

[quoted text, click to view]

RE: Capturing another apps TraceOuptut jdmcfadden
6/23/2004 3:58:02 AM
No, that won't work. The point is to have a real-time display of the OutputDebugString data, such as debuggers like DbgView provide. It's essentially a tool for the operations people to use to be able to just start, point to a given service, eyeball the output and say, "Yup, everything's fine". The designers do not consider logfiles realtime enough. There are loads of such examples out there. There's nothing on one app capturing another's output (that I've been able to find).

[quoted text, click to view]
Re: Capturing another apps TraceOuptut rk218 NO[at]SPAM hotmail.com
7/2/2004 11:51:34 AM
I wonder if, since DbgView is a freeware tool, the author of that
program would be willing to share the technique(s) he uses in that
program to capture those outputs? Can't imagine it would hurt to email
him and ask.




[quoted text, click to view]
OutputDebugString data, such as debuggers like DbgView provide. It's
essentially a tool for the operations people to use to be able to just
start, point to a given service, eyeball the output and say, "Yup,
everything's fine". The designers do not consider logfiles realtime
enough. There are loads of such examples out there. There's nothing on
one app capturing another's output (that I've been able to find).
[quoted text, click to view]
Re: Capturing another apps TraceOuptut jdmcfadden
7/2/2004 1:49:02 PM
DbgView (I'm pretty certain) is using the standard Windows API to capture the Debug events. This is cool and certainly doable in C#, but we were looking for a pure .NET solutuion. I gather from the anemic response and zero-discussion on the web, however, that one app can't capture another's TraceOutput using a listener. Bummer.

[quoted text, click to view]
AddThis Social Bookmark Button