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

Bug of using launch request on mac #1240

Open
bolin-chen opened this issue Feb 27, 2025 · 1 comment
Open

Bug of using launch request on mac #1240

bolin-chen opened this issue Feb 27, 2025 · 1 comment
Labels
cause:VSCode Caused by a bug in VSCode. Generally, this is not something I can fix myself.

Comments

@bolin-chen
Copy link

OS: macos 14.6.1
VSCode version: 1.96.2 in Cursor 0.46.6
CodeLLDB version: V1.11.4
Compiler: Apple clang version 15.0.0 (clang-1500.3.9.4), arm64-apple-darwin23.6.0
Debuggee: a c++ cmake program

I use codelldb in launch.json as follows,

{
    "configurations": [

        {
            "type": "lldb",
            "request": "launch",
            "name": "Code lldb",
            "program": "test",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "externalConsole": false,
            "targetArchitecture": "arm64"
        },
    ],
    "version": "2.0.0"
}

but the config does not show in run/debug pannel

Image

But if I set the request from launch to attach as follows, it appears.

Image

Image

Is this a bug? I want to use request launch actually.

@vadimcn
Copy link
Owner

vadimcn commented Feb 27, 2025

Don't know. Display of debug configurations is handled entirely by VSCode.
I'd recommend trying the most barebone project configuration possible, see if it happens then. If it still does, maybe disable the extension that provides the other debug configurations. And so on...

@vadimcn vadimcn added the cause:VSCode Caused by a bug in VSCode. Generally, this is not something I can fix myself. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause:VSCode Caused by a bug in VSCode. Generally, this is not something I can fix myself.
Projects
None yet
Development

No branches or pull requests

2 participants