Posted: Sat Nov 03, 2018 6:16 pm Post subject: conditional breakpoint on stack
Is it possible to "watch" the stack for a certain value being pushed to it? I can't just set a breakpoint on a specific address, I don't know what that address is. I want to somehow watch the stack for a specific value, and break at the instruction that writes that value to the stack. Is that even possible? Thanks!
Yes, that's possible (e.g. page exceptions?), but looking at the entire stack would be almost as ridiculous as stepping through the program one instruction at a time. You severely underestimate how often it's written to.
If you know the instruction doing the push or the address where it's likely to be pushed onto, then set the relevant breakpoint at the address and check the register (memory viewer -> view -> breakpointlist -> right click -> set/change condition). _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum