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

Method get_exit_code

pydevd_attach_to_process/winappdbg/thread.py:435–444  ·  view source on GitHub ↗

@rtype: int @return: Thread exit code, or C{STILL_ACTIVE} if it's still alive.

(self)

Source from the content-addressed store, hash-verified

433 return True
434
435 def get_exit_code(self):
436 """
437 @rtype: int
438 @return: Thread exit code, or C{STILL_ACTIVE} if it's still alive.
439 """
440 if win32.THREAD_ALL_ACCESS == win32.THREAD_ALL_ACCESS_VISTA:
441 dwAccess = win32.THREAD_QUERY_LIMITED_INFORMATION
442 else:
443 dwAccess = win32.THREAD_QUERY_INFORMATION
444 return win32.GetExitCodeThread(self.get_handle(dwAccess))
445
446 # ------------------------------------------------------------------------------
447

Callers 2

print_process_endMethod · 0.45
print_thread_endMethod · 0.45

Calls 1

get_handleMethod · 0.95

Tested by

no test coverage detected