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

Method get_bits

pydevd_attach_to_process/winappdbg/thread.py:879–889  ·  view source on GitHub ↗

@rtype: str @return: The number of bits in which this thread believes to be running. For example, if running a 32 bit binary in a 64 bit machine, the number of bits returned by this method will be C{32}, but the value of L{System.arch} will be C{

(self)

Source from the content-addressed store, hash-verified

877 return self.get_process().get_arch()
878
879 def get_bits(self):
880 """
881 @rtype: str
882 @return: The number of bits in which this thread believes to be
883 running. For example, if running a 32 bit binary in a 64 bit
884 machine, the number of bits returned by this method will be C{32},
885 but the value of L{System.arch} will be C{64}.
886 """
887 if win32.bits == 32 and not win32.wow64:
888 return 32
889 return self.get_process().get_bits()
890
891 def is_hidden(self):
892 """

Callers 10

get_contextMethod · 0.95
get_linear_addressMethod · 0.95
do_searchMethod · 0.45
do_searchhexMethod · 0.45
__set_variable_watchMethod · 0.45
__get_stack_traceMethod · 0.45
execlMethod · 0.45
__init__Method · 0.45
log_eventMethod · 0.45

Calls 1

get_processMethod · 0.95

Tested by

no test coverage detected