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

Problem with file loading #1016

Open i80287 opened 8 months ago

i80287 commented 8 months ago

OS: Windows 10 VSCode version: 1.83.1 CodeLLDB version: v1.10.0 Compiler: clang++ 16.0.5 Debuggee: <x86_64-windows-?>

Problem with reading path and loading file

Verbose log
Initial debug configuration: {
  name: 'Launch',
  type: 'lldb',
  request: 'launch',
  program: '${fileDirname}\\${fileBasenameNoExtension}.exe',
  args: [],
  __configurationTarget: 6
}
Resolved debug configuration: {
  name: 'Launch',
  type: 'lldb',
  request: 'launch',
  program: '${fileDirname}\\${fileBasenameNoExtension}.exe',
  args: [],
  __configurationTarget: 6,
  relativePathBase: 'e:\\knowledge\\hse\\AlgDS\\hw2',
  _adapterSettings: {
    displayFormat: 'auto',
    showDisassembly: 'auto',
    dereferencePointers: true,
    suppressMissingSourceFiles: true,
    evaluationTimeout: 5,
    consoleMode: 'commands',
    sourceLanguages: null,
    terminalPromptClear: null,
    evaluateForHovers: true,
    commandCompletions: true,
    reproducer: false
  }
}
liblldb: c:\Users\Владимир\.vscode\extensions\vadimcn.vscode-lldb-1.10.0\lldb\bin\liblldb.dll
environment: {}
settings: { evaluateForHovers: true, commandCompletions: true }
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Could not load \"c:\\\\Users\\\\\\xd0\\x92\\xd0\\xbb\\xd0\\xb0\\xd0\\xb4\\xd0\\xb8\\xd0\\xbc\\xd0\\xb8\\xd1\\x80\\\\.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.