larray.run_editor_on_exception

larray.run_editor_on_exception(root_path=None, usercode_traceback=True, usercode_frame=True)[source]

Run the editor when an unhandled exception (a fatal error) happens.

Parameters
root_pathstr, optional

Defaults to None (the directory of the main script).

usercode_tracebackbool, optional

Whether to show only the part of the traceback (error log) which corresponds to the user code. Otherwise, it will show the complete traceback, including code inside libraries. Defaults to True.

usercode_framebool, optional

Whether to start the debug window in the frame corresponding to the user code. This argument is ignored (it is always True) if usercode_traceback is True. Defaults to True.

Notes

sets sys.excepthook