Re: [LAD] Debugging environment for lv2 development.

From: Jeremy Salwen <jeremysalwen@email-addr-hidden>
Date: Thu Dec 22 2011 - 17:55:18 EET

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@email-addr-hidden
<email.rafa@email-addr-hiddenwrote:

> 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@email-addr-hidden
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>
>

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Dec 22 20:15:01 2011

This archive was generated by hypermail 2.1.8 : Thu Dec 22 2011 - 20:15:01 EET