vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.42k stars 237 forks source link

Couldn't load liblldb.dll\" (err=0x0000007E) #1095

Open lvyuemeng opened 2 months ago

lvyuemeng commented 2 months ago

OS: Windows 11 26100.1 VSCode version: 1.88.1 CodeLLDB version: 1.10.0 Compiler: rustc 1.79.0-nightly Debuggee: Default HelloWorld.

the version 1.10.0 doesn't work for me, but 1.9.2 is applicable.

Verbose log
Resolved debug configuration: {
  request: 'launch',
  program: `'${workspaceFolder}\\.debug\\debug\\test_try',`
  cwd: '${workspaceFolder}',
  args: [],
  smartStep: true,
  sourceMaps: true,
  stopOnEntry: false,
  name: 'Rust',
  type: 'lldb',
  relativePathBase: '${workspaceFolder}',
  _adapterSettings: {
    displayFormat: 'auto',
    showDisassembly: 'auto',
    dereferencePointers: true,
    suppressMissingSourceFiles: true,
    evaluationTimeout: 5,
    consoleMode: 'commands',
    sourceLanguages: null,
    terminalPromptClear: null,
    evaluateForHovers: true,
    commandCompletions: true,
    reproducer: false
  }
}
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Could not load \"c:\\\\Users\\\\\\xe5\\x90\\x95\\xe7\\xb2\\xa4\\xe8\\x92\\x99\\\\.vscode\\\\extensions\\\\vadimcn.vscode-lldb-1.10.0\\\\lldb\\\\bin\\\\liblldb.dll\" (err=0x0000007E)"', adapter\codelldb\bin/main.rs:57:57
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Debug adapter exit code=101 (0x65), signal=null.
Cybiger commented 4 weeks ago

I also reported an error. As long as you newly configure the environment and install the winlibs toolchain, there will be a 0x65 error.