[slime-devel] Re: [RfC] Marking frames restartable in SLDB

Tobias C. Rittweiler tcr at freebits.de
Fri Sep 12 12:31:07 UTC 2008


"Tobias C. Rittweiler" <tcr at 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.




More information about the slime-devel mailing list