LV2 plugin randomly gets ERR on controls

Hello
I’m testing my first LV2 plugin in a layer, it randomly gets ERR on some control, so I change its value and the ERR gets corrected for a while.
Since I have a long experience in programming but a short one in LV2 development, I’m sure I’ve made some mistake, but what’s the correct way to debug an LV2 plugin run from zynthian UI?
Apart from dmesg and other suystem logs, is there a set of log files that I should check?
Should I enable some debug mode in any place of the software stack?
Thank you in advance

Sergio

Most probably your plugins is printing something to stderr or stdout. Make sure it’s completely silent.

Regards

I’m pretty sure it doesn’t print on std files, I’ve written it without Juce or other frameworks so I know it’s pretty unuseful to do it, but I’ll check it.

I suggest you are using jalv to test it’s functionality. And do the jack wiring with the help of patchage. Is the error only in the zynthian chain or also in the debugging environment?
You can use jalv to get some UI<->plugin communication printed, dump trace information and so on to get it debugged.
Perhaps this could lead you to the culprit?
Regards