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

Function internal_get_exception_details_json

_pydevd_bundle/pydevd_comm.py:1609–1620  ·  view source on GitHub ↗

Fetch exception details

(
    dbg, request, thread_id, thread, max_frames, set_additional_thread_info=None, iter_visible_frames_info=None
)

Source from the content-addressed store, hash-verified

1607
1608
1609def internal_get_exception_details_json(
1610 dbg, request, thread_id, thread, max_frames, set_additional_thread_info=None, iter_visible_frames_info=None
1611):
1612 """Fetch exception details"""
1613 try:
1614 response = build_exception_info_response(
1615 dbg, thread_id, thread, request.seq, set_additional_thread_info, iter_visible_frames_info, max_frames
1616 )
1617 except:
1618 exc = get_exception_traceback_str()
1619 response = pydevd_base_schema.build_response(request, kwargs={"success": False, "message": exc, "body": {}})
1620 dbg.writer.add_command(NetCommand(CMD_RETURN, 0, response, is_json=True))
1621
1622
1623class InternalGetBreakpointException(InternalThreadCommand):

Callers

nothing calls this directly

Calls 4

NetCommandClass · 0.90
add_commandMethod · 0.45

Tested by

no test coverage detected