[LV2] How to debug plugins ?
sjaehn at jahnichen.de
Sun Oct 10 06:14:09 PDT 2021
The IMO* easiest way to debug LV2 plugins is by running them inside the
minimal LV2 host jalv. But first you have to compile the plugin with the
Then you have to call gdb with the jalv variant you need from the
Then inside gdb you run jalv with the parameters you usually pass in the
command line. At least the plugin URI:
Then you can continue with debugging, setting breakpoints, and so on as
you do it for other programs. You may take a look into gdb tutorials.
A useful way of tracking bugs is also implemented in the LV2 specs. See
*there are lots of other ways, feel free to try out.
Am 09.10.21 um 23:34 schrieb Mário Luzeiro:
> Hello all,
> I'm new to LV2.
> How should I proceed to debug (eg: gdb) a plugin ? as it is called by an host.. how can breakpoint, step-by-step debug can by applied here?
> Devel mailing list
> Devel at lists.lv2plug.in
More information about the Devel