MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / set_pc

Method set_pc

pydevd_attach_to_process/winappdbg/thread.py:640–649  ·  view source on GitHub ↗

Sets the value of the program counter register. @type pc: int @param pc: Value of the program counter register.

(self, pc)

Source from the content-addressed store, hash-verified

638 return context.pc
639
640 def set_pc(self, pc):
641 """
642 Sets the value of the program counter register.
643
644 @type pc: int
645 @param pc: Value of the program counter register.
646 """
647 context = self.get_context(win32.CONTEXT_CONTROL)
648 context.pc = pc
649 self.set_context(context)
650
651 def get_sp(self):
652 """

Callers 1

_notify_breakpointMethod · 0.80

Calls 2

get_contextMethod · 0.95
set_contextMethod · 0.95

Tested by

no test coverage detected