[OS X Emacs] Slime+OpenMCL: debugging
David Reitter
david.reitter at gmail.com
Fri Dec 12 01:03:01 EST 2008
On 11 Dec 2008, at 21:30, Bill Clementson wrote:
>
> "C-h m" or "C-h b" in the SLDB buffer will show you the available
> SLIME debugger key bindings.
> Hmm, looks like it should be (debug 3) instead.
>
>> How would I declare something for a file?
>
> At the top of the file use "declaim":
> (declaim (optimize (debug 3)))
>
> Note that CCL may optimize code such that the actual line isn't shown
> but it should get you to the right function.
No dice. I even tried this:
(declaim (optimize (speed 0) (space 0) (debug 3)))
I still only get to l1-boot-3.lisp.
Any other suggestions, perhaps were to look? (I will build the
documentation now.)
That's with SLIME CVS btw.
> I just use the current CVS SLIME and the latest development version of
> the CL that I'm working with and rarely have issues.
OK, maybe we'll have to do that in Aquamacs, too, if no-one volunteers
to make an installable .pkg so it can be updated independently.
>
> But C-c C-t is defined as a key binding in both slime mode and slime
> repl mode, so why do you think C-c C-t "doesn't work as expected" if
> it's bound to trace/untrace? You didn't say what buffer you wanted to
> clear, but I'm assuming it's the REPL buffer. The command there is C-c
> M-o.
Thanks. I wish we had a consistent binding for that, e.g., in ESS
(R) mode, C-c M-o doesn't work. Not SLIME's fault, but really an
omission in Emacs (same for indentation functions).
> Have you built the documentation for SLIME? It's actually quite good
> and very readable. Just do "make" in the slime/doc directory and then
> you can view the slime.info or slime.pdf files. Don't read the on-line
> docs (on the SLIME home page) as they are terribly out-of-date.
That's what I looked up when I was looking for the 'v' command.
Didn't think the documentation online would be outdated.
Why don't people update the online documentation (if it is so easy),
or take it down?
> Also, you would probably get better answers to slime-related questions
> on the slime development list:
> http://common-lisp.net/mailman/listinfo/slime-devel
Yeah, I must say, I was subscribed to this a while ago.
Recently I submitted a bug report with patch to the bugs mailing list,
which bounced because I wasn't subscribed (I want to report a bug and
its fix rather than reading all other people's bug reports or manage
yet another mailing list subscription). I sent to Helmut Eller, I
hope that was the right address (I haven't heard back).
Thanks for your help, Bill!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081212/da0afcaf/attachment.p7s>
More information about the MacOSX-Emacs
mailing list