Skip to content

Commit

Permalink
fix(dap): mason debugger detection - liblldb path
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Dec 1, 2023
1 parent a57bcf3 commit 3cad691
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.9.4] - 2023-12-01

### Fixed

- DAP: mason.nvim `codelldb` installation detection - liblldb path.

## [3.9.3] - 2023-12-01

### Fixed

- DAP: typo in mason.nvim `codelldb` installation detection (╯°□°)╯︵ ┻━┻.
- DAP: Typo in mason.nvim `codelldb` installation detection (╯°□°)╯︵ ┻━┻.

## [3.9.2] - 2023-12-01

Expand Down
2 changes: 1 addition & 1 deletion lua/rustaceanvim/config/internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ local RustaceanDefaultConfig = {
local codelldb_package = mason_registry.get_package('codelldb')
local mason_codelldb_path = compat.joinpath(codelldb_package:get_install_path(), 'extension')
local codelldb_path = compat.joinpath(mason_codelldb_path, 'adapter', 'codelldb')
local liblldb_path = compat.joinpath('lldb', 'lib', 'liblldb')
local liblldb_path = compat.joinpath(mason_codelldb_path, 'lldb', 'lib', 'liblldb')
local shell = require('rustaceanvim.shell')
if shell.is_windows() then
codelldb_path = codelldb_path .. 'exe'
Expand Down

0 comments on commit 3cad691

Please sign in to comment.