I'd like to mark restartable frames specially within a SLDB backtrace.
One way would be to use the first column, and use "*" or "R" if a frame is restartable. Another way would be to place "Restartable" in the details section if one toggles a frame. Or perhaps both, or something else entirely.
Thoughts?
-T.
* Tobias C. Rittweiler [2008-09-09 14:52+0200] writes:
I'd like to mark restartable frames specially within a SLDB backtrace.
One way would be to use the first column, and use "*" or "R" if a frame is restartable. Another way would be to place "Restartable" in the details section if one toggles a frame. Or perhaps both, or something else entirely.
Thoughts?
Adding that mark in SWANK-BACKEND:PRINT-FRAME should be easy.
Are there implementations where most or all frames are restartable? For those we could do the opposite: only mark those frames which aren't restartable.
Helmut.
"Tobias C. Rittweiler" tcr@freebits.de writes:
I'd like to mark restartable frames specially within a SLDB backtrace.
One way would be to use the first column, and use "*" or "R" if a frame is restartable. Another way would be to place "Restartable" in the details section if one toggles a frame. Or perhaps both, or something else entirely.
Thoughts?
I did it differently after all. I added two new faces:
`sldb-restartable-frame-line-face', `sldb-non-restartable-frame-line-face'.
The former is the face for frames that are surely restartable, the latter for frames that are surely not restartable. If restartability of a frame cannot be reliably determined, the face `sldb-frame-line-face' is used.
At the moment, determination of frame restartability is supported by the SBCL backend only.
In my setup, I've customized `sldb-restartable-frame-line-face' to a greenish foreground. (Faces are conveniently customizable using `M-x customize-face'.)
-T.