Skip to content

Can't figure out how to use this with Lime / OpenFl #140

@twilson90

Description

@twilson90

A few years ago I managed to get the debugger working with some work, but since then the hxml launch.json property has been removed and I can't get it to run correctly.

{
    "name": "HashLink debug",
    "request": "launch",
    "type": "hl",
    "cwd": "${workspaceFolder}/Export/hl/bin",
    "program": "${workspaceFolder}/Export/hl/obj/ApplicationMain.hl",
},

When it launches, it doesn't have access to any of the asset library manifests necessary to load resources in a Lime / OpenFl app.

Uncaught exception: [lime.utils.Preloader] ERROR: There is no asset library with an ID of "default"

If I try different configurations, like:

"cwd": "${workspaceFolder}

Then I get a popup error on running about not finding lime.hdll

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions