Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/w/i/winappdbg-1.5/winappdbg/breakpoint.py   winappdbg(Download)
            aThread.suspend()
            try:
                ctx = aThread.get_context(win32.CONTEXT_DEBUG_REGISTERS)
                DebugRegister.clear_bp(ctx, self.__slot)
                aThread.set_context(ctx)
            aThread.suspend()
            try:
                ctx = aThread.get_context(win32.CONTEXT_DEBUG_REGISTERS)
                self.__slot = DebugRegister.find_slot(ctx)
                if self.__slot is None:
            # Handle hardware breakpoints.
            if tid in self.__hardwareBP:
                ctx     = aThread.get_context(win32.CONTEXT_DEBUG_REGISTERS)
                Dr6     = ctx['Dr6']
                ctx['Dr6'] = Dr6 & DebugRegister.clearHitMask