473,486 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Stack Trace Data

Does anyone know of an way to get the stacktrace data for a given assembly
Process (in process) getting it for the app running from the app running is
no problem... What I am looking for is getting it from a running assembly
from another. Meaning a reading app the wites the stack trace for a different
selected assembly. Without using shared memory cross process or
DebugOutputString API. Does anyone know of an additional mechanism like
DebugOutPutString, that can be used to get this data... Meaning from one app
write stacktrace... the other app listens to the like DebugOutPutString
API.... One more thing along these lines... Anyway to use DebugOutPutString
API, with say Channels... ie A, B so that different trace data can be written
to different channels therefore isolating the type of data displayed? Thanks

Nov 16 '05 #1
1 2203
You might look into the Instrumentation classes and WMI.

HTH

DalePres

"Anthony Nystrom" <An************@discussions.microsoft.com> wrote in
message news:34**********************************@microsof t.com...
Does anyone know of an way to get the stacktrace data for a given assembly
Process (in process) getting it for the app running from the app running
is
no problem... What I am looking for is getting it from a running assembly
from another. Meaning a reading app the wites the stack trace for a
different
selected assembly. Without using shared memory cross process or
DebugOutputString API. Does anyone know of an additional mechanism like
DebugOutPutString, that can be used to get this data... Meaning from one
app
write stacktrace... the other app listens to the like DebugOutPutString
API.... One more thing along these lines... Anyway to use
DebugOutPutString
API, with say Channels... ie A, B so that different trace data can be
written
to different channels therefore isolating the type of data displayed?
Thanks

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2476
by: Andy Fish | last post by:
Hi, in my c# code I have something like this: try { ... } catch (Exception ex) { ... throw ex; }
3
5418
by: Mike Schilling | last post by:
Instances of SystemOutOfMemoryException do not contain a stack trace. Easy test to verify this: class OOM { public static void Main() { try { Object arr = new Object; } catch...
0
3658
by: Mike Schilling | last post by:
I have some code that calls methods reflectively (the method called and its parameters are determined by text received in a SOAP message, and I construct a map from strings to MethodInfos). The...
1
4763
by: Jason Coyne | last post by:
I am trying to use the StackTrace class to get my current stack trace for some logging. Everything is working fine, except when I am using threading (specifically WaitCallBack and...
3
24481
by: Jeremy | last post by:
While working with ASP.NET I've sometimes encountered errors in my applications, but I've always known exactly why I'm getting the error and have been able to fix it. So I've never needed to...
2
1440
by: Gal Moshitch | last post by:
Hi, I developed an application which writes errors to the event viewer whenever an exception is thrown (this is done at the application_error event). Except for the exception message, I also...
2
1384
by: RC | last post by:
I have implemented an error logging routine that writes out the stack trace (associated with the Exception object). It tells me the exact line(s) of code that lead up to the Exception. Example:...
2
4365
by: Lasse Vågsæther Karlsen | last post by:
If I got the following code: try { // something that might throw an exception } catch (Exception ex) { // Log contents of ex here throw;
5
1930
by: Mr. SweatyFinger | last post by:
WHY CAN'T THE CLOWN -HOLES WHO WROTE ASP.NET PROVIDE AN ERROR LINE NUMBER??? HONEST TO SH@THOLE PETE Server Error in '/New Folder (7)' Application....
3
7208
by: Dave Anson | last post by:
I have a custom exception and I want to write the information to the event log, including the Stack Trace. I can create the message and write to the event log no problem, but the Stack Trace is...
0
7094
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5427
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.