Hi guys, I am trying to work on my plugin, and would like to see some printouts to understand the current state of my plugin fresh built and running on MDX.
I am using DPF, and d_stdout function to print, and journalctl -f to see the output.
Result, however, is completely unreliable - quite a lot of prints just do not appear - for example prints from “activate” “deactivate” or plugin constructor function may appear or not appear in the log, or appear with a huge delay, printout to show setParameters event data almost never shows printout for the several last parameter changes, messages appear in blocks, or output can be silent for several minutes or messages never arrive.
Is there any way to get my prints reliably? I am a bit confused how to proceed further being that blindfolded.
P.S. printf was not any better. Also there is some disrupting dark magic happening when using prints in run() function, for example, adding print before sending midi note seems to work, but adding print after sending note breaks plugin and it stops sending anything to midi. Realtime stuff is strange, is it really easier to process megabytes of samples, running neural networks and applying complex effects than send 24 bytes to stdout…