Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 2.18 KB

README.org

File metadata and controls

62 lines (51 loc) · 2.18 KB

debug layer

img/debug.png

Table of Contents

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 bindingDescription
SPC m d dopen cmd buffer

Debugger

Key bindingDescription
bbset break
bcclear break
bddelete break
bsdisable break
beenable break
ccontinue
istep into
Jjump to current line
ostep out
qquit debug
rrestart
sstep over
Sgoto cmd buffer
veval variable