Re: [LAD] Debugging environment for lv2 development.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <email.rafa@...>
Cc: <audioprogramming@...>, <linux-audio-dev@...>
Date: Thursday, December 22, 2011 - 3:55 pm

--f46d04190ba4f2b62c04b4b05428
Content-Type: text/plain; charset=ISO-8859-1

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@gmail.com
wrote:

> Hi everyone. I'm starting to write a simple filter and I want to expose it

--f46d04190ba4f2b62c04b4b05428
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hey Rafael,I wrote lv2file (https://github.com/jeremysalwen/lv2file) specifically for =
debugging lv2 plugins.=A0 Also look at lv2proc (http://naspro.atheme.org/applications/lv2pr=
oc/
).

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

JeremyOn Thu, Dec 22, 2011 at 9:55 A=
M, email.rafa@gmail.com <email.rafa@gmail.com=
> wrote:

Hi everyone. I'm starting to write a sim=
ple filter and I want to expose it as an lv2 plugin.=A0=
My development environment is very simple right now: vim editor, gcc compil=
er, 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.=A0

I've found this setup to be a bit unconfortable bec=
ause once I load the plugin in ardour I don't know how to get debug inf=
ormation from it (print statements or breakpoints with gdb).

What does a lv2 development environment typically looks like=
? what are you guys using?Thanks!
-- Rafael Vegaemail.rafa@gmail.com

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lis=
ts.linuxaudio.org

http://lists.linuxaudio.org/listinfo/linux-audio-dev

--f46d04190ba4f2b62c04b4b05428--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Debugging environment for lv2 development., email.rafa@gmail.com, (Thu Dec 22, 2:56 pm)
Re: [LAD] Debugging environment for lv2 development., Gabriel M. Beddingfield, (Thu Dec 22, 5:20 pm)
Re: [LAD] Debugging environment for lv2 development., David Robillard, (Thu Dec 22, 7:57 pm)
Re: [LAD] Debugging environment for lv2 development., Jeremy Salwen, (Thu Dec 22, 3:55 pm)
Re: [LAD] Debugging environment for lv2 development., email.rafa@gmail.com, (Thu Dec 22, 4:31 pm)
Re: [LAD] Debugging environment for lv2 development., Harry van Haaren, (Thu Dec 22, 3:46 pm)