Skip to content

LLDB hangs at launch #22

@cbackas42

Description

@cbackas42

I'm experimenting with using Nova for a SwiftGodot project, because I rather dislike VSCode. The short version of it is that this involved compiling a Swift .dylib via SwiftPM, then you launch Godot to test it.

So, I have a special debuggable version of the Godot.app (where I've resigned it and added the com.apple.security.get-task-allow entitlement). This definitely works, it can be launched and attached to with LLDB and I do so from VSCode and XCode alike currently.

In Nova, I configured it to launch:
~/Applications/Godot Debug.app/Contents/MacOS/Godot
And passed the appropriate parameters.

When I press Run:

  • Godot launches and correctly.
  • If a breakpoint was set in Nova, Godot instead hangs on startup forever - I believe the breakpoint is being hit, but the Debug panel is not showing it.
  • The debug panel does say "Debug session is running" and shows a PID for the Godot process.
  • Whether a breakpoint was hit or not, the Pause button in the Debug panel does not function, it produces the error message: Request “pause” failed: requestFailed(Optional("The operation couldn’t be completed. (SwiftLLDB.LLDBError error 1.)"), nil)
  • Nova does not notice when Godot is quit via command-Q or otherwise - the Run task keeps spinning after the process has exited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions