cannot load dll in newest vscode version

Open
#14,051 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, typescript, vscode
Domain
devtools

Research direction

Start by reproducing the report on Windows 10 with VS Code 1.106.0, the C/C++ extension 1.28.3, and MSYS2 GDB 16.3-1 using the provided debugger configuration. Compare the attached 1.105.0 and 1.106.0 debug-console logs and determine what changed in DLL loading. Done means the configuration loads the DLL successfully on the newer VS Code version or the incompatibility is clearly documented.

Written by the indexing model from the issue text.

Description

external Visual Studio Code
Environment
  • OS and version: Windows 10
  • VS Code: 1.106.0 system setup
  • C/C++ extension: 1.28.3
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version: msys2 gdb 16.3-1

switch to vscode 1.105.0 system setup and it works

1.105.0-debug-console.txt
1.106.0-debug-console.txt

Debugger Configurations
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "(gdb) Launch",
      "type": "cppdbg",
      "request": "launch",
      "stopAtEntry": false,
      "cwd": "${workspaceFolder}",
      "externalConsole": false,
      "MIMode": "gdb",
      "preLaunchTask": "Build",
      "setupCommands": [
        {
          "description": "Enable pretty-printing for gdb",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        }
      ],
      "windows": {
        "program": "${workspaceFolder}/build/${relativeFileDirname}/ns3.43-${fileBasenameNoExtension}-debug.exe",
        "environment": [
          {
            "name": "PATH",
            "value": "${workspaceFolder}/build/lib;${env:PATH}"
          },
          {
            "name": "PYTHONPATH",
            "value": "${workspaceFolder}/bindings/python"
          }
        ]
      },
      "linux": {
        "program": "${workspaceFolder}/build/${relativeFileDirname}/ns3.43-${fileBasenameNoExtension}-debug",
        "environment": [
          {
            "name": "LD_LIBRARY_PATH",
            "value": "${env:LD_LIBRARY_PATH}:${workspaceFolder}/build/lib"
          }
        ]
      }
    },
}
Debugger Logs
^
Other Extensions

No response

Additional Information

No response

Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-cpptools

All issues in microsoft/vscode-cpptools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.