File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 38
38
39
39
(defcustom dap-codelldb-debug-program
40
40
(concat dap-codelldb-debug-path
41
- (if (eq system-type 'windows-nt )
42
- " /extension/adapter/codelldb.exe"
43
- " /extension/adapter/codelldb" ))
41
+ (if (eq system-type 'windows-nt )
42
+ " /extension/adapter/codelldb.exe"
43
+ " /extension/adapter/codelldb" ))
44
44
" The path to the codelldb debugger."
45
45
:group 'dap-codelldb
46
46
:type 'string )
47
47
48
-
49
-
50
48
(defun dap-codelldb-setup (&optional forced )
51
49
" Download and install codelldb adapter.
52
50
With prefix, FORCED to redownload the extension."
@@ -60,13 +58,11 @@ With prefix, FORCED to redownload the extension."
60
58
(lambda (conf )
61
59
(let ((debug-port (dap--find-available-port)))
62
60
(plist-put conf :program-to-start (format " %s --port %s " dap-codelldb-debug-program debug-port))
63
- (plist-put conf :debugServer debug-port)
64
- )
61
+ (plist-put conf :debugServer debug-port))
65
62
(plist-put conf :host " localhost" )
66
63
(plist-put conf :type " lldb" )
67
64
(plist-put conf :cargo " " )
68
- conf)
69
- )
65
+ conf))
70
66
71
67
(provide 'dap-codelldb )
72
68
; ;; dap-codelldb.el ends here
You can’t perform that action at this time.
0 commit comments