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

Method get_pc

pydevd_attach_to_process/winappdbg/thread.py:632–638  ·  view source on GitHub ↗

@rtype: int @return: Value of the program counter register.

(self)

Source from the content-addressed store, hash-verified

630 if win32.arch in (win32.ARCH_I386, win32.ARCH_AMD64):
631
632 def get_pc(self):
633 """
634 @rtype: int
635 @return: Value of the program counter register.
636 """
637 context = self.get_context(win32.CONTEXT_CONTROL)
638 return context.pc
639
640 def set_pc(self, pc):
641 """

Callers 12

get_label_at_pcMethod · 0.95
__get_stack_traceMethod · 0.95
read_code_bytesMethod · 0.95
peek_code_bytesMethod · 0.95
disassemble_around_pcMethod · 0.95
disassemble_currentMethod · 0.95
do_stepMethod · 0.80
_notify_single_stepMethod · 0.80
log_eventMethod · 0.80
disassemble_around_pcMethod · 0.80
disassemble_currentMethod · 0.80

Calls 1

get_contextMethod · 0.95

Tested by

no test coverage detected