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

Method set_fp

pydevd_attach_to_process/winappdbg/thread.py:679–689  ·  view source on GitHub ↗

Sets the value of the frame pointer register. @type fp: int @param fp: Value of the frame pointer register.

(self, fp)

Source from the content-addressed store, hash-verified

677 return context.fp
678
679 def set_fp(self, fp):
680 """
681 Sets the value of the frame pointer register.
682
683 @type fp: int
684 @param fp: Value of the frame pointer register.
685 """
686 flags = win32.CONTEXT_CONTROL | win32.CONTEXT_INTEGER
687 context = self.get_context(flags)
688 context.fp = fp
689 self.set_context(context)
690
691 # ------------------------------------------------------------------------------
692

Callers

nothing calls this directly

Calls 2

get_contextMethod · 0.95
set_contextMethod · 0.95

Tested by

no test coverage detected