Commit graph

11 commits

Author SHA1 Message Date
Nathan Tran
cdcdde3354
Fix +debugger/start not working (#4782)
* Fix `+debugger/start` not working

* Correct indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-11 10:24:44 -05:00
Henrik Lissner
cf086d08fa Minor refactor & use doom-store-* API
+ Fixes a shallow comparison error (eq cannot compare strings).
+ Uses the doom-store-* API rather than pull in a new dependency to
  manage project-local variables.
2021-03-05 19:31:54 -05:00
Henrik Laxhuber
44803038b2
Remove dash dependency 2021-03-01 09:15:26 +01:00
Henrik Laxhuber
462efded5f
Fix +debugger/quit 2021-03-01 09:15:06 +01:00
Henrik Laxhuber
cf3d9eb6e0
Handle empty input in +debugger-completing-read 2021-02-28 23:18:19 +01:00
Henrik Laxhuber
6de1e56d4f
Fix +debug/start for dap-based debuggers.
Reworks the internals of how the debugger module stores the last-used
configuration:
- car of the configuration indicates whether it is a realgud or a
dap-based configuration.
- For dap-based debuggers, the entire dap configuration is stored, with
code copied from `dab-debug`.
- When inside a project, don't store the configuration as a buffer-local
variable, but instead as a project-local variable using
`projectile-variable`.

Fixes #2367.
2021-02-28 22:16:38 +01:00
Gerry Agbobada
46d3d8d85c Fix dap-debug-template-conf.. void-variable
The variable changed name in
emacs-lsp/dap-mode@7768e145be
2019-11-26 00:54:51 +01:00
Henrik Lissner
42421a765d
Avoid fallback completion if lsp--buffer-deferred 2019-10-23 22:08:28 -04:00
Henrik Lissner
69ba8bb657
Fix +debugger/start for dap-mode
And fix variable name typo.
2019-07-09 21:33:02 +02:00
Henrik Lissner
21d1844c6f
tools/debugger: fix broken variable reference 2019-07-09 21:11:27 +02:00
Henrik Lissner
096a3b96cc
Update & refactor tools/debugger
- Polish dap-mode support
- Fix realgud autoloads
- Add +debugger/start and +debugger/quit
- Move dap-breakpoints file into doom-etc-dir
- Fix SPC o d
- Add popup rule for realgud:pdb debugger
- Update display-in-popup advice to reflect changes upstream
- Realgud command buffer is auto-killed (and popup closed) when quitting
  the debugger.
- (evil users) Add :debug ex command
2019-07-07 22:01:24 +02:00