marimo
marimo copied to clipboard
Debugging tools: better tracebacks with cell links
Description
Debug cells that failed to run. Sometimes they are using functions defined in other cells, or imported modules.
Suggested solution
Multiple features would be helpful, below:
Alternative
- %debug magic like Jupyter?
- More readable tracebacks? Currently traceback has cells named with a hash, I wonder if this could be mapped to the 'cell number' that is displayed e.g. in dependency explorer (and/or if there's an option to toggle display of cell names)
Traceback (most recent call last):
Cell /tmp/marimo_73071/__marimo__cell_XQaa__output.py, line 1
f
NameError: name 'f' is not defined
- Related, maybe better: when there's a traceback, make the trace levels in the notebook clickable to jump to the cell (line?) in question, as seems to already be supported when there's a cycle.
Additional context
No response
All great ideas -- thank you!
Closed by #1904 !!