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 3838
3939(defcustom dap-codelldb-debug-program
4040 (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" ))
4444 " The path to the codelldb debugger."
4545 :group 'dap-codelldb
4646 :type 'string )
4747
48-
49-
5048(defun dap-codelldb-setup (&optional forced )
5149 " Download and install codelldb adapter.
5250With prefix, FORCED to redownload the extension."
@@ -60,13 +58,11 @@ With prefix, FORCED to redownload the extension."
6058 (lambda (conf )
6159 (let ((debug-port (dap--find-available-port)))
6260 (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))
6562 (plist-put conf :host " localhost" )
6663 (plist-put conf :type " lldb" )
6764 (plist-put conf :cargo " " )
68- conf)
69- )
65+ conf))
7066
7167(provide 'dap-codelldb )
7268; ;; dap-codelldb.el ends here
You can’t perform that action at this time.
0 commit comments