Skip to content

Debugging qml for a plugin #911

@Ant0ine64

Description

@Ant0ine64

Hi, I'm trying to create a plugin but it seems when I have some invalid qml, I'm not able to know what's wrong with it, I can't see anything in the logs. (By invalid I mean, adding some invalid statements made out of randoms letters)

The plugins adds a tool, when in getMetaData() I give either a wrong qml file path or a qml file with something wrong, nothing happens when I click on the tool icon in cura.

I think this is a code concerned but it does not give any error:
https://github.com/Ultimaker/Uranium/blob/main/UM/Qt/Bindings/ActiveToolProxy.py#L43
https://github.com/Ultimaker/Cura/blob/main/resources/qml/Toolbar.qml#L206

I would really appreciate if anyone could give me advice on how to debug some thing like this.

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