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

Method notesReport

pydevd_attach_to_process/winappdbg/crash.py:1117–1133  ·  view source on GitHub ↗

@rtype: str @return: All notes, merged and formatted for a report.

(self)

Source from the content-addressed store, hash-verified

1115 return msg
1116
1117 def notesReport(self):
1118 """
1119 @rtype: str
1120 @return: All notes, merged and formatted for a report.
1121 """
1122 msg = ""
1123 if self.notes:
1124 for n in self.notes:
1125 n = n.strip("\n")
1126 if "\n" in n:
1127 n = n.strip("\n")
1128 msg += " * %s\n" % n.pop(0)
1129 for x in n:
1130 msg += " %s\n" % x
1131 else:
1132 msg += " * %s\n" % n
1133 return msg
1134
1135 def addNote(self, msg):
1136 """

Callers 2

fullReportMethod · 0.95
__init__Method · 0.80

Calls 1

popMethod · 0.80

Tested by

no test coverage detected