Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug resolves $(workplaceFolder) but not $(workplaceFolderBasename) #237079

Open
5wattbulb opened this issue Dec 29, 2024 · 0 comments
Open

Debug resolves $(workplaceFolder) but not $(workplaceFolderBasename) #237079

5wattbulb opened this issue Dec 29, 2024 · 0 comments
Assignees

Comments

@5wattbulb
Copy link

5wattbulb commented Dec 29, 2024

Type: Bug

This is my launch.json setup
{
"name": "LLDB Launch",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/target/debug/$(workspaceFolderBasename)",
"preLaunchTask": "rust: cargo build",
"args": [],
"cwd": "${workspaceFolder}",
}

I'm pressing F5 to debug a rust project (in a manjaro terminal)
~/projects/testing/target/debug/target
but I get the message box
'/home/tom/projects/testing/target/debug/$(workspaceFolderBaseName)' does not exist.
If I replace '$(workspaceFolderBaseName)' with 'testing' it works as expected.

VS Code version: Code 1.96.2 (fabdb6a, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.22635
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 7 165H (22 x 3072)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.64GB (5.45GB free)
Process Argv --crash-reporter-id 51b2f5cc-df4e-40d4-966a-0c16a6eaad06
Screen Reader no
VM 0%
Item Value
Remote WSL: Manjaro
OS Linux x64 5.15.167.4-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) Ultra 7 165H (22 x 0)
Memory (System) 7.58GB (6.26GB free)
VM 0%
Extensions (10)
Extension Author (truncated) Version
remotehub Git 0.64.0
remote-wsl ms- 0.88.5
azure-repos ms- 0.40.0
remote-repositories ms- 0.42.0
cmake-tools ms- 1.19.52
cpptools ms- 1.23.2
cpptools-extension-pack ms- 1.3.0
rust-analyzer rus 0.3.2228
cmake twx 0.0.17
vscode-lldb vad 1.11.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants