2

What's your general approach when quickload fails? I guess I'd like to know the line that provoked the problem, but all I'm given is a backtrace with a reference to a bytecompiled-function. How should I proceed to determine which package, file and form causes the problem?

Update

My environment is ECL in Emacs. The backtrace is provided by the SLIME debugger.

Ehvince
  • 17,274
  • 7
  • 58
  • 79
Michael Fox
  • 3,632
  • 1
  • 17
  • 27
  • 3
    This depends on the IDE and or Lisp you are using. You might want to provide more details to your question. – Rainer Joswig Jan 30 '17 at 17:14
  • 1
    So, where is the backtrace? – sds Jan 30 '17 at 17:46
  • @RainerJoswig Done. The IDE is SLIME and Lisp is ECL but I'd be interested in knowing if there's a portable approach. – Michael Fox Jan 30 '17 at 17:58
  • @sds The backtrace is provided by SLIME. – Michael Fox Jan 30 '17 at 17:58
  • @MichaelFox: please copy and paste the backtrace into your question. – sds Jan 30 '17 at 17:59
  • 3
    If you have your cursor on the frame in the SLIME debugger, then press V . This stands for 'view source for the frame'. Alternatively move over the symbol and press M-. . If you want to look at all possible keybindings, the press c-h m . In Slime m-. on a symbol will try to find its source. – Rainer Joswig Jan 30 '17 at 18:10
  • 1
    @RainerJoswig V doesn't work in the scenario described by the user. It takes you to the source of code that asked for the the file that filed to be compiled. although unsophisticated I just start compiling all the files in the system until I find the error and get a backtrace I can debug (with V) – PuercoPop Jan 31 '17 at 23:29

1 Answers1

0

Quicklisp uses ASDF (which usually comes preinstalled), you can try to use it directly to get more detailed error. See manual.

  1. Put (or symlink) your system in one of the standard locations, as subdirectory for example "foo" under

    • ~/common-lisp/ or
    • ~/.local/share/common-lisp/source/.
  2. Try to load it

(asdf:load-system :foo)

Juraj
  • 860
  • 4
  • 16