PDA

View Full Version : OllyDbg saving breakpoints?


AmazingTrans
August 26th, 2012, 00:06
Currently, I'm setting lots of breakpoints in my exe file and also in the dll file. But sometimes after i step through certain area of a code, the program terminated. When the program terminate, all the breakpoints in the dll are removed.
How do i keep the breakpoints in the dll when i restart or save the breakponts somehow and restore it back?

_genuine
August 26th, 2012, 11:27
Hmm, I was always under the impression that Olly did save breakpoint data, thats the purpose of the udd files..unless the behavior is different for prematurely terminated applications or dll's..is the breakpoint on a user dll or system dll?

AmazingTrans
August 26th, 2012, 12:06
_genuine,

How do i tell ifit is user / system dll?
all i know is that the dll file belongs to the program not windows type.

_genuine
August 27th, 2012, 00:06
Ok thats what i meant, a system dll would be the dlls included with Windows, and other Windows related libraries.

blabberer
August 27th, 2012, 00:28
Quote:
[Originally Posted by AmazingTrans;93170]Currently, I'm setting lots of breakpoints in my exe file and also in the dll file. But sometimes after i step through certain area of a code, the program terminated. When the program terminate, all the breakpoints in the dll are removed.
How do i keep the breakpoints in the dll when i restart or save the breakponts somehow and restore it back?


ollydbg udd files are written at the end of session and they do not contain dynamic updates of session and abrupt termination may prevent
udd file creation / updation


so if you need your breakpoints saved

you need to update the udd file manually at any point of time you wish (not sure about 2.01 description is for 1.10)

set your bp
alt+e (view -> executable ) --> right click --> update udd now for the module you set your bp on

oh i have a half written plugin that can let you do this from exactly the place you set your bp on for 1.10

might have to dig it out

AmazingTrans
August 30th, 2012, 22:11
Oh, I hope to see the plugins.

Darkelf
August 31st, 2012, 17:10
You may also use Olly Breakpoint Manager:

http://www.woodmann.com/collaborative/tools/index.php/Olly_Breakpoint_Manager

Regards
darkelf