Skip to content

[REQUEST]handeling for when _data of printdata(_data) is a weak reference #504

Closed

Description

@Geronim053

Is your feature request related to a problem? Please describe.

Apparently printdata(_data) errors with "Script Error the index 'getclass' does not exist" in the case of _data being a weak reference. (At least thats the conclusion a quick chat with Lord Midas drew.)

Describe the solution you'd like

It would be nice if MSU checked for tables/classes/instances beforehand whether it was a weak reference or not. In best case it would still print the data into the log, but imo a warning that it was not possible would do as well.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

(Perhaps this should have been a bug-report, but I couldnt bring myself to do that after Midas helped me out (again! and again!) MSU is awesome, you guys are awesome!)

Activity

  1. added
    feature request
    on Jun 30, 2026
  2. LordMidas commented on Jun 30, 2026

    @LordMidas
    Member

    Small correction: handling for instance of the vanilla WeakTableRef class, not weakref itself.

  3. Geronim053 commented on Jun 30, 2026

    @Geronim053
    Author

    oh, I wasnt aware there was a difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions