Fetch exception details
(
dbg, request, thread_id, thread, max_frames, set_additional_thread_info=None, iter_visible_frames_info=None
)
| 1607 | |
| 1608 | |
| 1609 | def 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 | |
| 1623 | class InternalGetBreakpointException(InternalThreadCommand): |
nothing calls this directly
no test coverage detected