Ark2000 / PankuConsole

Feature-packed real-time debugging toolkit for Godot Engine.

Home Page:https://k2kra.xyz/PankuConsole/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bookmarked monitors can't change expression.

Ark2000 opened this issue · comments

commented

Describe the bug
Bookmarked monitors can't change expression.

To Reproduce

  1. Run project
  2. Create a bookmarked monitor with expression set to '1'
  3. Change expression to '2'
  4. Quit running
  5. Run project again
  6. The bookmarked monitor's expression is still '1'

Expected behavior
In step 6, the expression should be '2'

commented

Reason: The expression is stored in metadata when monitor is created, but the metadata is never updated.

Solution: Use method instead of metadata to fetch latest expression when serialization.