[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud-lldb e001d6a87a 1/2: Customize lldb frame forma
From: |
ELPA Syncer |
Subject: |
[elpa] externals/realgud-lldb e001d6a87a 1/2: Customize lldb frame format to tell us full source file paths |
Date: |
Thu, 19 May 2022 17:58:08 -0400 (EDT) |
branch: externals/realgud-lldb
commit e001d6a87a526b9625c8fbc76466080dc2462dc0
Author: Yuri Khan <yuri.v.khan@gmail.com>
Commit: Yuri Khan <yuri.v.khan@gmail.com>
Customize lldb frame format to tell us full source file paths
---
lldb/lldb.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lldb/lldb.el b/lldb/lldb.el
index fc8f3901cc..30a7ea555b 100644
--- a/lldb/lldb.el
+++ b/lldb/lldb.el
@@ -81,6 +81,14 @@ fringe and marginal icons.
(with-current-buffer cmd-buf
(set (make-local-variable 'realgud--lldb-file-remap)
(make-hash-table :test 'equal))
+ ;; The following directs lldb to emit full paths
+ ;; when stopping at a breakpoint,
+ ;; which lets us find the file.
+ ;; Unfortunately lldb only emits base file names
+ ;; when setting breakpoints,
+ ;; so we still show an unhelpful prompt at that time.
+ (realgud-command "settings set frame-format frame #${frame.index}:
${frame.pc}{ ${module.file.basename}{\`${function.name}}}{ at
${line.file.fullpath}:${line.number}}\n"
+ nil nil nil)
(realgud:remove-ansi-schmutz)
)
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/realgud-lldb e001d6a87a 1/2: Customize lldb frame format to tell us full source file paths,
ELPA Syncer <=