all groups > vb.net > february 2005 >
You're in the

vb.net

group:

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



How to access Locals, Autos...programmatically?... G.Ashok
2/28/2005 11:26:06 PM
vb.net:
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

RE: How to access Locals, Autos...programmatically?... mohamed.mossad NO[at]SPAM egdsc.microsoft.com
3/1/2005 1:16:55 PM
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
Re: How to access Locals, Autos...programmatically?... G.Ashok
3/2/2005 8:32:55 AM
Thanks Mohamed,

I will download it and see the details.

Regards,
....Ashok


[quoted text, click to view]

AddThis Social Bookmark Button