Watchpoints in debuggers are used to break when some data at a memory location is accessed (either, an instruction reads from some place in memory, or an instruction writes into some place in memory). Hardware watchpoints use the debug registers available on the processor. An exception is raised when this data is accessed, and it's up to the debugger (in this case Bit Slicer) to catch the exception, look at the current instruction pointer of the caught thread, and go from there. There's two modes the hardware supports for these watchpoints: either let's you know of both read and write changes, or just write changes. Anyway, this isn't done by polling with a timer.
30 replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users