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

Method _get_windows_ppid

_pydevd_bundle/pydevd_api.py:1043–1049  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1041 return ppid
1042
1043 def _get_windows_ppid(self):
1044 this_pid = os.getpid()
1045 for ppid, pid in _list_ppid_and_pid():
1046 if pid == this_pid:
1047 return ppid
1048
1049 return None
1050
1051 def _terminate_child_processes_windows(self, dont_terminate_child_pids):
1052 this_pid = os.getpid()

Callers 2

get_ppidMethod · 0.95
test_get_ppidFunction · 0.95

Calls 1

_list_ppid_and_pidFunction · 0.85

Tested by 1

test_get_ppidFunction · 0.76