AW: how to set breakpoint in this way?

Hello George,

if this is another question regarding managed code debugging, you should know that there is no guaranty that the HW breakpoint will actually be hit.

Ok, it will be hit, but the Address where you put you HW breakpoint may point to another object or to free space after a garbage collection. If the Object is in Gen #2 there is a good chance that it will stay where it is. If you use a pinned GCHandle you prevent the Object to move in Memory, so this is also an option.

GP

-----Urspr?ngliche Nachricht-----
Von: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] Im Auftrag von Lin George
Gesendet: Dienstag, 31. M?rz 2009 17:24
An: Kernel Debugging Interest List
Betreff: [windbg] how to set breakpoint in this way?

Hello everyone,

I want to set a break point and wants it to be triggered when a piece memory (begin address and length are known) are changed. I am working on Windows Server 2003 x64 platform. My purpose is to monitor when the memory content is changed and gets the call stack.

thanks in advance,
George


WINDBG is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

powered by Exchange 2007 - hosted by a Microsoft Gold Partner - visit us www.world-direct.at