MCPcopy Index your code
hub / github.com/nodejs/node / do_list_modules

Method do_list_modules

deps/v8/tools/grokdump.py:4026–4040  ·  view source on GitHub ↗

List details for all loaded modules in the minidump. An argument can be passed to limit the output to only those modules that contain the argument as a substring (case insensitive match).

(self, arg)

Source from the content-addressed store, hash-verified

4024 return self.do_list_modules(arg)
4025
4026 def do_list_modules(self, arg):
4027 """
4028 List details for all loaded modules in the minidump.
4029
4030 An argument can be passed to limit the output to only those modules that
4031 contain the argument as a substring (case insensitive match).
4032 """
4033 for module in self.reader.module_list.modules:
4034 if arg:
4035 name = GetModuleName(self.reader, module).lower()
4036 if name.find(arg.lower()) >= 0:
4037 PrintModuleDetails(self.reader, module)
4038 else:
4039 PrintModuleDetails(self.reader, module)
4040 print()
4041
4042 def do_s(self, word):
4043 """ see search """

Callers 1

do_lmMethod · 0.95

Calls 4

GetModuleNameFunction · 0.85
PrintModuleDetailsFunction · 0.85
printFunction · 0.70
findMethod · 0.65

Tested by

no test coverage detected