[LAD] Debugging environment for lv2 development.

Jeremy Salwen jeremysalwen at gmail.com
Thu Dec 22 15:55:18 UTC 2011


Hey Rafael,

I wrote lv2file (https://github.com/jeremysalwen/lv2file) specifically for
debugging lv2 plugins.  Also look at lv2proc (
http://naspro.atheme.org/applications/lv2proc/).

A) If you just test with a single input file, you get a uniform debugging
environment.
B) You can set breakpoints and debug inside your LV2 plugin just like you
would any other C library code (so long as you compiled in debugging
information to the shared library).

Jeremy

On Thu, Dec 22, 2011 at 9:55 AM, email.rafa at gmail.com
<email.rafa at gmail.com>wrote:

> Hi everyone. I'm starting to write a simple filter and I want to expose it
> as an lv2 plugin.
>
> My development environment is very simple right now: vim editor, gcc
> compiler, package the lv2 manually (will write a script for that in a day
> or two) and then load the plugin in ardour to test it.
>
> I've found this setup to be a bit unconfortable because once I load the
> plugin in ardour I don't know how to get debug information from it (print
> statements or breakpoints with gdb).
>
> What does a lv2 development environment typically looks like? what are you
> guys using?
>
> Thanks!
>
> --
> Rafael Vega
> email.rafa at gmail.com
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20111222/930e294f/attachment.html>


More information about the Linux-audio-dev mailing list