Skip to content

Commit

Permalink
debugging: C-u C-c C-k
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Dec 13, 2024
1 parent a0004f9 commit d098de7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ and the backtrace. A few remarks:
- we can explore the functionality with the menu that should appear
in our editor.

### Compile with maximum debugging information
### Compile with maximum debugging information (`declaim` and `C-u` prefix)

Usually your compiler will optimize things out and this will reduce
the amount of information available to the debugger. For example
Expand All @@ -460,6 +460,9 @@ change the optimization choices with:

and recompile our code. You can achieve the same with a handy shortcut: `C-u C-c C-c`: the form is compiled with maximum debug settings. You can on the contrary use a negative prefix argument (`M--`) to compile for speed. And use a numeric argument to set the setting to it (you should read the docstring of `slime-compile-defun`).

Likewise, you can apply maximum debug settings to all the code of your
current buffer with `C-u C-c C-k`. Use the `M--` prefix for maximum speed.


## Step

Expand Down

0 comments on commit d098de7

Please sign in to comment.