codelldb icon indicating copy to clipboard operation
codelldb copied to clipboard

Can't find codelldb.exe (but, it's right there)

Open hhmmjjnn opened this issue 10 months ago • 5 comments

OS: Windows 11 VSCode version: VSCodium-1.88.0 CodeLLDB version: CodeLLDB-1.10.0 Compiler: zig-0.11.0 Debuggee: x86_64-windows-msvc

  1. Run command workbench.action.debug.start
  2. task build completes sucessfully
  3. target executable is spawned
  4. process paused on entry-point
  5. CodeLLDB complains it can't find codelldb.exe
  6. though codelldb.exe is right where you'd expect it to be
  7. running the very same command manually, in a CMD box, resumes the execution of the target process until it exits
$ \\vadimcn.vscode-lldb-1.10.0-universal\\adapter\\codelldb.exe terminal-agent --connect=62648
bash: \vadimcn.vscode-lldb-1.10.0-universal\adapter\codelldb.exe: No such file or directory

image

{
        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
            {
                "type": "lldb",
                "request": "launch",
                "name": "Debug",
                "program": "${workspaceFolder}/zig-out/bin/foo.exe",
                "args": [],
                "cwd": "${workspaceFolder}",
                "preLaunchTask": "build"
            }
        ]
    }

hhmmjjnn avatar Apr 09 '24 18:04 hhmmjjnn