vadimcn / codelldb

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

breakpoint does not stop in mac m1 #977

Closed laofan13 closed 10 months ago

laofan13 commented 11 months ago

OS: Apple M1 MacOs Ventura 13.4.1 VSCODE:1.81 CodeLLDB version: 1.9.2 Compiler: llvm16

launch.json

{
    // 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": "Launch",
            "program": "${workspaceFolder}/main",
            "args": [],
            "cwd": "${workspaceFolder}",
            "stopOnEntry": true
        }
    ]
}

run degguer:

image

OS: VSCode version: CodeLLDB version: Compiler: Debuggee:

Verbose log
  
vadimcn commented 11 months ago

Why do you think this is a codelldb issue?

vadimcn commented 11 months ago

Also, please review this: https://github.com/vadimcn/codelldb/wiki/Breakpoints-are-not-getting-hit

laofan13 commented 10 months ago

Why do you think this is a codelldb issue?

I use debug_info show , outputted path same as the source file.