Skip to content

Problems using code-debug with Lazarus 1.6.4 + FPC 3.0.2 #106

@carlca

Description

@carlca

lldb --version
lldb-370.0.42

It is supposed to be version >= 3.7.1. Presumably 370 is the equivalent of 3.7.0.
I cannot find a stable version of lldb >= 3.7.1 intended for the Mac.

Lazarus 1.6.4
FPC 3.0.2
Apple Mac Pro (Early 2009) with upgraded v5.1 firmware
MacOS 10.12.5 Sierra

lldb-mi appears to work

contents of .vscode/launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug",
            "type": "lldb-mi",
            "request": "launch",
            "target": "${workspaceRoot}/codepreview.app",
            "cwd": "${workspaceRoot}"
        }
    ]
}

I am trying to debug a program which I have written in Lazarus/FPC. My source is in a folder called /Users/carl/Code/fpc/codepreview and my launch.json is in the folder /Users/carl/Code/fpc/codepreview/.vscode. I can set breakpoints, but when I hit the green arrow, I am presented with a drop down where I type "LLDB", but nothing happens after that.

I'm suspicious about the version of lldb but haven't yet found a suitable new version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions