473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

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


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
Nov 21 '05 #1
2 1154
Hi Ashok
On this link you will find the CLR profiler

http://www.microsoft.com/downloads/t...6052-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

Nov 21 '05 #2
Thanks Mohamed,

I will download it and see the details.

Regards,
....Ashok
"Mohamoss" <mo************@egdsc.microsoft.com> wrote in message
news:O5**************@TK2MSFTNGXA02.phx.gbl...
Hi Ashok
On this link you will find the CLR profiler

http://www.microsoft.com/downloads/t...6052-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

Nov 21 '05 #3

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

Similar topics

2
by: tedsuzman | last post by:
----- def f(): ret = 2 exec "ret += 10" return ret print f() ----- The above prints '12', as expected. However,
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
3
by: G.Ashok | last post by:
Hi, How can I can access all the debugger aids (like Autos, Locals, Me (This), MemoryLists, Threads, Modules, Registers) programmatically? I want too use them in my program to log the exact...
0
by: G.Ashok | last post by:
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...
2
by: krallabandi | last post by:
Do you have any idea about the below errors? Access to the path "C:\DOCUME~1\P005715\ASPNET\LOCALS~1\Temp\cumhnc6b.cmdline" is denied. Access to the path...
17
by: GinTon | last post by:
How to access to a variable (that value is not returned) from a module imported? And the variable is set at the module-level. That module is external to my program, it's from another project so...
5
by: robinsiebler | last post by:
I have a data structure that looks like this: # dates = {'2007': {'25': {'06/23/07': {'aerosmith': , # 'Metallica': }, # 'last_song': }}}...
2
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I want to give a user the possibility of "restarting" an interactive session, by removing all the objects defined by her since the beginning. The way I make this possible is by having a "function"...
6
by: SanPy | last post by:
The subject of this message might be a little cryptic, so here's an example of what I mean: def foo(): """doc string of foo""" print foo.__doc__ doc string of foo What I want to know is...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.