Skip to content

Commit 3424ebe

Browse files
authored
Add custom metadata to dap-debug-session (#256)
1 parent 1aae2c3 commit 3424ebe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dap-mode.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ The hook will be called with the session file and the new set of breakpoint loca
179179
(initialize-result nil)
180180
(error-message nil)
181181
(loaded-sources nil)
182-
(program-proc))
182+
(program-proc)
183+
;; Optional metadata to set and get it.
184+
(metadata (make-hash-table :test 'eql)))
183185

184186
(cl-defstruct dap--parser
185187
(waiting-for-response nil)

0 commit comments

Comments
 (0)