Log in

View Full Version : How to LOG memory access?


nexus
December 12th, 2003, 16:39
How to LOG memory access?

It's easy to set a breakpoint on memory access, but I need only to log when and where that location is accessed. Is it possible?

Thanks

blabberer
December 13th, 2003, 07:25
?? u set a break point on access to a certain part of memory

it will break if and only if that part of memory is accessed

and you will have an entry regarding that break in log window like this
Log data
Address Message
004012CF Memory breakpoint when executing [004012CF]
"for this i set a memory bpt on cpu pane in code section"
004012D4 Memory breakpoint when writing to [004052F0]
"for this i set break point on data section where it was supposed to move a pointer ie i followed 4052f0 in dump pane and set a bpt there on that dword"

the code
004012CF |. A3 9C524000 MOV DWORD PTR DS:[40529C], EAX
004012D4 |. C705 F0524000>MOV DWORD PTR DS:[4052F0], <JMP.&USER32>;

if i am following your query i think you want this to be logged to some file
then right click in log window and click log to file and give a name to your file

if this is not what you are after then i dint understand your question

nexus
December 13th, 2003, 09:54
Ok, I did'n explain well. I'm debugging a directX fullscreen application, so I <u>do not want</u>to break program execution, I only want to know where the memory is accessed. Thank you anyway for your reply.