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

Method add_exception

_pydev_bundle/_pydev_log.py:13–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 self._contents.append(" ".join(content))
12
13 def add_exception(self):
14 s = StringIO()
15 exc_info = sys.exc_info()
16 traceback.print_exception(exc_info[0], exc_info[1], exc_info[2], limit=None, file=s)
17 self._contents.append(s.getvalue())
18
19 def get_contents(self):
20 return "\n".join(self._contents)

Callers 2

_impFunction · 0.80
_impFunction · 0.80

Calls 3

print_exceptionMethod · 0.80
getvalueMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected