spacemacs/layers/+tools/debug
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
img create debug layer 2018-05-12 23:46:18 -04:00
README.org [Debug][Doc] Fix broken link in documentation. 2020-05-06 23:10:34 +02:00
config.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
funcs.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

debug layer

/TakeV/spacemacs/media/branch/develop/layers/+tools/debug/img/debug.png

Description

This layer adds interactive debuggers for multiple languages using realgud.

Features:

  • Modern rewrite of the Emacs GUD debugger family
  • Visual interface including breakpoint and line indicators
  • Advanced features like stack frame navigation and mouse support
  • Extensible framework for adding your own external debuggers

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add debug to the existing dotspacemacs-configuration-layers list in this file.

Enable additional debuggers

Language specific debuggers are added by the respective layers. If you want to add additional debuggers, add them to the debug-additional-debuggers variable. Make sure that your debugger is compatible by checking here.

  (setq-default dotspacemacs-configuration-layers
                '((debug :variables debug-additional-debuggers '("remake"))))

Key bindings

Major Mode

Key binding Description
SPC m d d open cmd buffer

Debugger

Key binding Description
bb set break
bc clear break
bd delete break
bs disable break
be enable break
c continue
i step into
J jump to current line
o step out
q quit debug
r restart
s step over
S goto cmd buffer
v eval variable