Log in

View Full Version : can you set break point


rama711
June 13th, 2005, 09:46
Hi
can you set break point at a string. lets say I found a string ie. "send toops" can olly break at this string?

arjuns
June 13th, 2005, 11:56
rama711 , In fact your question is not clear ,and if it so you can't set a bp over a particular string.
But you can set a trace if some register or memory location containing your string is accessed while deubgging.
this is simply done like this
tc eax == "your string".

arjuns
June 13th, 2005, 12:07
tracing takes long time.

arjuns
June 13th, 2005, 12:13
another simple idea
go to dump view and search for your string , select it and set a breakpoint on access
u'll be stopped while accessing the sting.

rama711
June 14th, 2005, 07:11
Sorry if I was not clear
but correct me if iam wrong
you sid go to dump viem and search for your string. This mean that when I found the suspected string I can tell olly to take me to the corresponding disassemble window the set bp on that line!!

arjuns
June 14th, 2005, 11:19
when you select a sting and set a breakpoint point on access (Right click -> breakpoint -> memory on access ) you'll be paused somewhere where your stiring is being accessed . I hppens in diassamble window

rama711
June 15th, 2005, 10:22
I will try tonight!!