Log custom values in debugger's monitor plots

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By uservardir


Is it possible from a game to communicate with Godot’s Debugger’s Monitor and ask it to plot graphs of custom values from the running game (other than the default fps, process, memory, etc.) ? Is there any sort of “Debugger API” which would allow plotting custom values in that panel ?

It would be very useful to keep track of any quantity of interest for debugging.

I’m not aware of anything like that. I usually write my own debug HUD and log info in there, displayed in game.
If you want custom stuff in these monitors, you’d need to make a feature request on Github.

Zylann | 2019-08-18 22:25

Okay I see, thanks for your answer

uservardir | 2019-08-18 22:51

:bust_in_silhouette: Reply From: eons

I think it is limited to particular engine data and do not allow to push custom data on it.

You can make your own panel, listening to a particular game port for making your custom logs and charts.

Thanks for your answer, I’ll go with my own implementation then. It’d be great if such a feature gets implemented one day, it would be way faster than building our own dashboard/HUD or than using Grafana, Tensorboard, etc. If all we want is some simple plots

uservardir | 2019-08-18 22:55

you can make a request for an extensible debugger/monitor, I think that all editor parts are getting more modular in next versions, so even if something like this can be complex to design (to make it generic) it is not a crazy idea.

eons | 2019-08-19 00:35