Skip to content

Horrible performance when debugging with lldb-dap #442

@tmillr

Description

@tmillr

When I have the ui opened and step, ~50% of the time I have to wait anywhere from 10-30 seconds before the next line is hit and my programs stops. The latency makes it nearly impossible to debug. It goes back to nearly instantaneous (as expected) when I disable this plugin.

Last time I debugged Lua (single thread) I did not have this issue; the binary I'm debugging now runs 2 threads by default. Maybe it has something to do with debugging a decent sized binary, or maybe because there's multiple threads, idk.

Idk what the cause is, I just know that it involves this plugin. I have dap virtual text disabled, disabled all of my own custom hooks/listeners, etc. and I am not even doing anything in the UI but having it open.

With this plugin enabled

Screen.Recording.2025-03-17.at.2.43.55.AM.mov

With this plugin disabled

Screen.Recording.2025-03-17.at.2.50.27.AM.mov

Might be related to #429.

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