阅读背景:

在多线程应用程序中设置硬件断点不会触发

来源:互联网 

I wrote a little debugger for analysing and looging certain problems. Now I implemented a hardwarebreakpoint for detecting the access of a memory address being overwritten. When I run my debugger with a test process, then everything works fine. When I access the address, the breakpoint fires and the callstack is logged. The problem is, when I run the same against an application running multiple threads. I'm replicating the breakpoint into every thread that gets created and also the main thread. None of the functions report an error and everything looks fine, but when the address is accessed, the breakpoint never fires.I wrote a little debugger for analysing and loo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: