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

Method get_filename

pydevd_attach_to_process/winappdbg/module.py:293–305  ·  view source on GitHub ↗

@rtype: str or None @return: Module filename. Returns C{None} if unknown.

(self)

Source from the content-addressed store, hash-verified

291 warnings.warn("Cannot get size and entry point of module %s, reason: %s" % (self.get_name(), e.strerror), RuntimeWarning)
292
293 def get_filename(self):
294 """
295 @rtype: str or None
296 @return: Module filename.
297 Returns C{None} if unknown.
298 """
299 if self.fileName is None:
300 if self.hFile not in (None, win32.INVALID_HANDLE_VALUE):
301 fileName = self.hFile.get_filename()
302 if fileName:
303 fileName = PathOperations.native_to_win32_pathname(fileName)
304 self.fileName = fileName
305 return self.fileName
306
307 def __filename_to_modname(self, pathname):
308 """

Callers 11

get_nameMethod · 0.95
open_handleMethod · 0.95
load_symbolsMethod · 0.95
resolveMethod · 0.95
print_module_loadMethod · 0.45
print_module_unloadMethod · 0.45
do_processlistMethod · 0.45
__init__Method · 0.45
fetch_extra_dataMethod · 0.45
get_module_by_nameMethod · 0.45
__add_loaded_moduleMethod · 0.45

Calls 1

Tested by

no test coverage detected