Closed simurgh9 closed 1 year ago
Steps to reproduce,
Put test.el in the current working directory.
test.el
(package-initialize) (require 'use-package) (use-package treemacs) (use-package lsp-mode) (use-package dap-mode :custom (dap-auto-configure-features '(sessions locals controls tooltip repl)) :config (use-package dap-python :after python :custom (dap-auto-configure-mode t) (dap-python-debugger 'debugpy) ; pip3 install debugpy (dap-python-executable python-shell-interpreter)) :hook (python-mode . dap-ui-mode) (python-mode . dap-mode))
Run emacs -Q --load test.el.
emacs -Q --load test.el
Run M-x dap-debug (dap-python) and choose the file option.
M-x dap-debug
Interact with one of the Treemacs windows spawned by dap-debug (this is important).
dap-debug
Let the debugger finish.
Toggle the Treemacs window by M-x treemacs treemacs.
M-x treemacs treemacs
Here is a gif,
Other information,
[Treemacs] v2.9.5 (installed 2022.05.19) @ Emacs 29.0.50
GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-16, unofficial emacs-snapshot build: http://emacs.secretsauce.net
Link to the Dap mode's Github repository
Just realised that I'd opened this issue in the wrong repository... chef's kiss. Please delete this if possible.
Steps to reproduce,
Put
test.el
in the current working directory.Run
emacs -Q --load test.el
.Run
M-x dap-debug
(dap-python) and choose the file option.Interact with one of the Treemacs windows spawned by
dap-debug
(this is important).Let the debugger finish.
Toggle the Treemacs window by
M-x treemacs treemacs
.Here is a gif,
Other information,
[Treemacs] v2.9.5 (installed 2022.05.19) @ Emacs 29.0.50
GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-16, unofficial emacs-snapshot build: http://emacs.secretsauce.net
Link to the Dap mode's Github repository