简体   繁体   中英

Why breakpoint in user32.dll can't break another process

I set a breakpoint in user32!MessageBoxW, and this breakpoint only break my own process. If another also call MessageBoxW, it won't break at this breakpoint. Can anyone would like to tell me why? thanks a lot.

Breakpoint is typically implemented by replacing the instruction at the location of the breakpoint (see BreakPoint ). That means your process is likely to use an altered version of the dll, said foo~.dll, but other process out side of your IDE are using the original foo.dll. That's why they won't break.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM