Log in

View Full Version : Help on breakpoints


Anonymous
September 28th, 2003, 01:20
Hi

Can you help me with breakpoints. I am trying to set a conditional bp. When eax is -1 i want to stop execution of program. I try to set eax<0, but program won't stop. What is wrong?
How to set a bp when FindFirstFile API function return ERROR_PATH_NOT_FOUND (or anyother error or any other API function)?

Thanks in advance

stanks

Teerayoot
September 28th, 2003, 21:26
eax = -1 mean eax = ffffffff .


FindFirstFile ,when ERROR_PATH_NOT_FOUND had return ; notice content of register(regular is eax) and set cond bp on that register .

Anonymous
September 29th, 2003, 09:03
> eax==-1 mean eax=ffffffffh
yes i know that. and i know that help file says to put condition eax<1 if you want all values below 0 (zero), but program won't stop.
I didn't remember that. Thanks for tip.

stanks