Skip to content

mkekeberg/dap-mode

This branch is 98 commits behind emacs-lsp/dap-mode:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

52ac284 · May 12, 2022
Apr 22, 2022
May 4, 2022
Jan 15, 2020
Sep 26, 2019
Sep 28, 2021
Apr 14, 2022
Apr 14, 2022
Sep 27, 2020
May 30, 2018
Apr 14, 2022
May 30, 2018
Apr 14, 2022
Apr 26, 2022
Nov 14, 2020
May 9, 2022
May 7, 2022
May 4, 2022
May 14, 2019
Oct 7, 2019
Jul 15, 2021
May 11, 2020
May 9, 2022
Apr 8, 2022
Feb 17, 2022
Apr 16, 2022
Apr 25, 2021
Sep 27, 2020
May 4, 2022
Nov 10, 2020
Mar 25, 2022
Feb 18, 2020
Sep 1, 2018
Feb 26, 2022
Nov 20, 2019
Sep 13, 2021
Apr 7, 2020
Feb 26, 2022
Apr 26, 2022
Feb 16, 2022
May 12, 2022
Nov 2, 2020
Dec 21, 2019
Apr 28, 2022

Repository files navigation

https://melpa.org/packages/dap-mode-badge.svg https://stable.melpa.org/packages/dap-mode-badge.svg https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg https://github.com/emacs-lsp/dap-mode/workflows/CI/badge.svg https://discordapp.com/api/guilds/789885435026604033/widget.png?style=shield

dap-mode

Table of Contents

Summary

Emacs client/library for Debug Adapter Protocol is a wire protocol for communication between client and Debug Server. It’s similar to the LSP but provides integration with debug server.

Project status

The API considered unstable until 1.0 release is out. It is tested against Java, Python, Ruby, Elixir and LLDB (C/C++/Objective-C/Swift).

Usage

The main entry points are dap-debug and dap-debug-edit-template. The first one asks for a registered debug template and starts the configuration using the default values for that particular configuration. The latter creates a debug template which could be customized before running. dap-debug-edit-template will prepare a template declaration inside a temporary buffer. You should execute this code using C-M-x for the changes to apply. You should also copy this code into your Emacs configuration if you wish to make it persistent.

dap-mode also provides a hydra with dap-hydra. You can automatically trigger the hydra when the program hits a breakpoint by using the following code.

(add-hook 'dap-stopped-hook
          (lambda (arg) (call-interactively #'dap-hydra)))

Links

Acknowledgments

  • Daniel Martin - LLDB integration.
  • Kien Nguyen - NodeJS debugger, Edge debuggers, automatic extension installation.
  • Aya Igarashi - Go debugger integration.
  • Nikita Bloshchanevich - launch.json support (+ variable expansion), debugpy support, (with some groundwork by yyoncho) runInTerminal support, various bug fixes.

About

Emacs ❤️ Debug Adapter Protocol

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 90.4%
  • Gherkin 9.1%
  • Other 0.5%