Skip to content

Commit

Permalink
external debugger: expand README
Browse files Browse the repository at this point in the history
  • Loading branch information
Bike committed Jul 26, 2024
1 parent 31ad5f5 commit d20bf88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debugger-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ ln -s /path/to/gdb/loader.py /usr/share/gdb/auto-load/usr/local/bin/iclasp-gdb.p

and then the distinction will load whenever you start debugging clasp. Note that the actual executable is `iclasp` here rather than `clasp`, which is a symlink.

If that doesn't work, you can source the extension in your initfile. Some examples are provided in `dot-files/`. Keep in mind that this will load the extension any time you run your debugger, even if you're debugging something other than Clasp.

# Caveats

In order for the debugger to get much information from Clasp, Clasp has to have actually initialized a few variables read by the extension. If you start your debugger with an inferior Clasp rather than attaching to an existing process, this may not immediately be done.
Expand Down

0 comments on commit d20bf88

Please sign in to comment.