Hey Rafael,<br><br>I wrote lv2file (<a href="https://github.com/jeremysalwen/lv2file">https://github.com/jeremysalwen/lv2file</a>) specifically for debugging lv2 plugins.  Also look at lv2proc (<a href="http://naspro.atheme.org/applications/lv2proc/">http://naspro.atheme.org/applications/lv2proc/</a>).<br>

<br>A) If you just test with a single input file, you get a uniform debugging environment.<br>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).<br>

<br>Jeremy<br><br><div class="gmail_quote">On Thu, Dec 22, 2011 at 9:55 AM, <a href="mailto:email.rafa@gmail.com">email.rafa@gmail.com</a> <span dir="ltr"><<a href="mailto:email.rafa@gmail.com">email.rafa@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone. I'm starting to write a simple filter and I want to expose it as an lv2 plugin. <div><br></div><div>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. </div>



<div><br></div><div>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).</div><div>



<br></div><div>What does a lv2 development environment typically looks like? what are you guys using?</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888">
<div><br></div><div>-- <br>Rafael Vega<br><a href="mailto:email.rafa@gmail.com" target="_blank">email.rafa@gmail.com</a><br>
</div>
</font></span><br>_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br>
<br></blockquote></div><br>