james
May 4th, 2009, 16:13
Hi,
first off, please don't flame, this is my first post, and I'm very excited to be here
second, I've searched (this forum and google) for an answer to my question, and although I have found someone asking for help in this area, I'm not able to follow the answers he/she got. In case I did miss a post where my problem is answered, I appologize. I have tried to find it, and I have read OllyDbg.hlp on the subject.
Anyway, here goes:
I'm trying to familiarize myself with conditional breakpoints. Specifically I'm trying to set a breakpoint for when ECX = "some ascii text".
What I've found that should work is: UNICODE [ECX]=="some ascii text", but I never break on it. For testing purpose I set a (manual) breakpoint above where I know ECX is set to "some ascii text", and run from there I never break again - so it's not that this code happens in a external loaded exe or similar.
The info I can give, if helpful, is:
at some point ECX is set to 01F186B8 (in hex) with OllyDbg saying it's "ASCII xxxx".
I have ctrl+t, checked Condition is TRUE and put in.
Just for the record, I also tried ECX=="xxx" (without unicode), and neither of the two break.
Can anyone help me as to why these conditions don't break?
- and yes, as I tried explaining above, I have verified that ECX is set to "xxxx" at specific adress.
Any help is greatly appreciated.
- James
first off, please don't flame, this is my first post, and I'm very excited to be here

second, I've searched (this forum and google) for an answer to my question, and although I have found someone asking for help in this area, I'm not able to follow the answers he/she got. In case I did miss a post where my problem is answered, I appologize. I have tried to find it, and I have read OllyDbg.hlp on the subject.
Anyway, here goes:
I'm trying to familiarize myself with conditional breakpoints. Specifically I'm trying to set a breakpoint for when ECX = "some ascii text".
What I've found that should work is: UNICODE [ECX]=="some ascii text", but I never break on it. For testing purpose I set a (manual) breakpoint above where I know ECX is set to "some ascii text", and run from there I never break again - so it's not that this code happens in a external loaded exe or similar.
The info I can give, if helpful, is:
at some point ECX is set to 01F186B8 (in hex) with OllyDbg saying it's "ASCII xxxx".
I have ctrl+t, checked Condition is TRUE and put in
Code:
UNICODE ECX=="xxxx"
Just for the record, I also tried ECX=="xxx" (without unicode), and neither of the two break.
Can anyone help me as to why these conditions don't break?
- and yes, as I tried explaining above, I have verified that ECX is set to "xxxx" at specific adress.
Any help is greatly appreciated.
- James