Log in

View Full Version : Conditional Breakpoint


Anonymous
January 5th, 2003, 03:29
Hi all,

I'm trying to set a breakpoint; the breakpoint must activate only when ECX is set to 00A88F60 so I write the condition "ECX = 00A88F60" but it doesn't work. The breakpoint works always.

Where is my error?

Thanks,
cabal

Anonymous
January 5th, 2003, 05:39
Greets,

i guess u wanted comparison ... ollydbg uses C operator style syntax.
The comparison operator is "==".
The assignment operator is "=".
So in your example the condition to be evaluated is "ecx == <memaddr>".

Regards,

Anastasius Focht

Anonymous
January 5th, 2003, 11:16
Thank you,
cabal

Anonymous
January 24th, 2003, 16:09
Please make help file to this syntax features

itsme
January 25th, 2003, 10:08
Just look at a C programming manual - there's plenty to download on the net. There's for too much you can do to describe it here.

focht
January 27th, 2003, 11:06
Greets again,

no need for C manual ...
Supported expressions are already documented.
Just look for "Evaluation of expressions" in ollydbg.hlp file.
You find the C-style operator syntax at bottom.

Regards,
Anastasius Focht