How to access Locals, Autos...programmatically?...

  • Thread starter Thread starter G.Ashok
  • Start date Start date
G

G.Ashok

Hi All,

I'm posting this again!

How can I can access all of the debugger aids (like Autos, Locals, Me
(This), MemoryLists, Threads, Modules, Register) programmatically? I want to
use them in my program to log the exact picture of the error and its
condition like the values of the each variable etc. when an error occurs in
my program. While running my program I want to dump the memory contents to a
log file. At-least if I can access them while in development (Debug version)
of them program will also do.

I have posted this query several times on the various MS new groups. I
didn't a got a solution. However I got some fake replies (from MS/MVPS also)
pointing me to other direction (They don't undertsand the issue).

Thanks in advance.

Regards,
....Ashok
 
Hi Ashok
On this link you will find the CLR profiler

http://www.microsoft.com/downloads/thankyou.aspx?FamilyID=86ce6052-d7f4-4aeb
-9b7a-94635beebdda&displaylang=en
it is program that do memory analyses to .net it virtually get all
memory allocations and de allocation , stakes , heap , and garbage
collections of a program's memory through all its life time. In other
words , it tells you every thing about memory concerning the program that
you attach to it .
that tool comes with source code so you can see exactly how it do it .
take you time with that code to see what functionality you want to
implement and see how it could be done.

Hope this helps
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 
Back
Top