emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dape 4f5a9c0ce8 1/3: Include instructions for lldb-dap


From: ELPA Syncer
Subject: [elpa] externals/dape 4f5a9c0ce8 1/3: Include instructions for lldb-dap
Date: Thu, 4 Jul 2024 12:57:53 -0400 (EDT)

branch: externals/dape
commit 4f5a9c0ce8b67f5374e9c0be8808eaef2c5f47b5
Author: skittishdev <42278215+skittishdev@users.noreply.github.com>
Commit: Daniel Pettersson <svaante@gmail.com>

    Include instructions for lldb-dap
    
    Add an example for how to use lldb-dap
---
 README.org | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/README.org b/README.org
index 2e0d99a7d2..3b39daee5e 100644
--- a/README.org
+++ b/README.org
@@ -125,6 +125,17 @@ Download latesnd unpack =vsix= file with your favorite 
unzipper.
 
 See [[https://code.visualstudio.com/docs/cpp/launch-json-reference][options]].
 
+** C, C++ and Rust - lldb-dap
+1. Install 
[[https://github.com/helix-editor/helix/wiki/Debugger-Configurations#install-debuggers][lldb-dap]]
 for your platform
+
+*** Example for MacOS using homebrew
+
+1. Install the =llvm= keg: =brew install llvm=
+2. Prepend the =llvm= path to the =PATH= variable (=$(brew --prefix 
--installed llvm)/bin=)
+3. =M-x dape= and pass in arguments of interest
+  - To pass arguments, use =:args ["arg1" "arg2" ..]=
+  - To use a different program instead of =a.out= (e.g., for Rust), use 
=:program "target/debug/<crate_name>"=
+
 ** Python - debugpy
 Install debugpy with pip ~pip install debugpy~
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]