codeproject — Toggle hardware data/read/execute breakpoints programmatically
C’est très utile pour créer un break point matériel sur un élément alloué dynamiquement. Quelquefois ça ne marche pas tout à fait bien cependant ….

hX1 = SetHardwareBreakpoint(GetCurrentThread(), HWBRK_TYPE_READWRITE,HWBRK_SIZE_4,c1);
RemoveHardwareBreakpoint(hX1);