Log in

View Full Version : Hardware Breakpoints in Ollydbg


marjoeb
May 29th, 2006, 17:31
Hi all,
I've searched the forum and internet for some help but no luck so here goes nothing. Of late I have taken up the studying of unpacking using ollydbg mostly PeTools, and ImportREC. For the most part it has been fun, but there's something really annoys me. When I have set Hardware Breakpoints in Olly and later have to restart by doing Ctrl-f2 I lose my Hardware Breakpoints. Am I configured wrong or what. I'm using shadows version of olly1.10 . Any suggestions would be appreciated. By the way I've been reading this board for a while but have been afraid of getting scolded for not searching for an answer first so if this is a dumb question please be gentle, Ha LOL.

SiGiNT
May 29th, 2006, 21:58
Hmmmmm, strange problem, I use Shadow and other versions of olly, and they always remember the HW breakpoints - the info is contained in a file that has a .udd extension, (target.udd), if I recall when I started using Shadow I had to edit the .ini file to point to the correct udd and plug-ins directory, take al ook at that.

SiGiNT

disavowed
May 29th, 2006, 23:13
marjoeb, do you have write-access to the directory that OllyDbg is running from?

Ricardo Narvaja
May 30th, 2006, 03:42
do you have marked in debugging options-security

IGNORE PATH AND EXTENSION
IGNORE TIME STAMP
IGNORE CRC OF CODE SECTION

and

SAVE USER DATA ...

mark all this options and try

Ricardo Narvaja

Knight
May 30th, 2006, 10:50
Problem can be that bps are placed on dynamically alocated memory, which is not available on restart.

Regards,
Knight

marjoeb
May 30th, 2006, 16:38
Thanks for the timely advice. It seems it was my UDD folder was not selected correctly. I also set my security options to Ricardo Narvaja'a suggestions. One or the other did it. Thanks again, you guys are the greatest.