Skip to content

Show/find dead/bogus connections  #345

@rickmcgeer

Description

@rickmcgeer

I just spent several hours trying to run down a null-pointer bug, imagining that the central issue was that a widget's state was being queried before it was instantiated. It turned out that the problem was that setting the widget's state was causing a connection to fire, and that was invoking a method on another instance of the component (one that hadn't been instantiated) and as a result the state of a non-instantiated widget was being queried.
There are probably best practices which can deal with this, which don't need to be enforced, but tooling to help a programmer track down connections would be appreciated.

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