Skip to content

LLDB-DAP in VSC doesn't respect "disableASLR": false unless you also do settings set target.disable-aslr false #94338

Closed
@HolyBlackCat

Description

@HolyBlackCat

When you try to debug in Docker using LLDB-DAP, by default it fails because it's unable to disable the ASLR.

Adding "disableASLR": false, to launch.json is supposed to fix it, but currently you need both that and "initCommands": ["settings set target.disable-aslr false"], for it to work.

Ideally the former should be enough (or if either one worked, that would be perfect). I could swear that the former was enough at some point (maybe when I was using v0.2.0 VSC extension I compiled myself, while now I'm using v0.2.1 from the marketplace).

I'm using lldb-dap-18 v18.1.3 from apt.llvm.org on Ubuntu 22.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions