HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

DSP, Plug-in and Host development discussion.
User avatar
vortico
KVRist
180 posts since 19 Jul, 2008

Post Wed Jun 06, 2018 7:26 pm

VCV Rack open-source virtual modular synthesizer

hibrasil
KVRian
769 posts since 24 Jun, 2002 from Huddersfield, UK

Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

Post Thu Jun 07, 2018 5:33 am

Andrew I am curious do you do all of your debugging on the command line?
My Website | WDL-OL | Web Audio Modules - WAMs | Oli Larkin Plugin's Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)

User avatar
vortico
KVRist
180 posts since 19 Jul, 2008

Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

Post Thu Jun 07, 2018 5:57 am

For plugins, I personally just use print debugging. Attaching a debugger to Ableton Live or some lightweight host is a possibility, but I've never needed it.
VCV Rack open-source virtual modular synthesizer

hibrasil
KVRian
769 posts since 24 Jun, 2002 from Huddersfield, UK

Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

Post Thu Jun 07, 2018 9:42 am

what about for vcvrack?

This seems like an incredibly good reason to stick with IDE projects :-) - debuggers are so useful!

I never used lldb etc on the command line..., but if I could easily hook it up with atom/vscode etc I might switch to make files
My Website | WDL-OL | Web Audio Modules - WAMs | Oli Larkin Plugin's Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)

User avatar
vortico
KVRist
180 posts since 19 Jul, 2008

Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

Post Thu Jun 07, 2018 10:35 am

I use GDB very infrequently for Rack, like once a week. I don't find debuggers necessary because as frank as it is to say it, I rarely write pointer and correctness bugs into my code. If you do, GDB is a fantastic package which is as fast, if not faster, than adding breakpoints in an IDE and stepping through its editor. If you think IDEs = easier debugging, you should reevaluate GDB's features. See https://www.youtube.com/watch?v=PorfLSr3DDI for some examples.

I should note that lldb is not to the level of features as GDB yet, although that will be the case in a couple years as it has more momentum at the moment. However, it is difficult to install on MacOS due to the operating system's security-theater "protection".
VCV Rack open-source virtual modular synthesizer

mystran
KVRAF
4983 posts since 12 Feb, 2006 from Helsinki, Finland

Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

Post Thu Jun 07, 2018 10:52 am

hibrasil wrote: This seems like an incredibly good reason to stick with IDE projects :-) - debuggers are so useful!

I never used lldb etc on the command line..., but if I could easily hook it up with atom/vscode etc I might switch to make files
I actually just use lldb in Terminal.app and I never found it that big of a deal... but I admit I mostly ever bother with debuggers (of any type) when stuff is actively crashing and I need to track it down.
If you'd like Signaldust to return, please ask Katinka Tuisku to resign.

stratum
KVRAF
1843 posts since 29 May, 2012

Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

Post Thu Jun 07, 2018 11:05 am

Forget about living without a debugger, I can't live without one that doesn't attach to spawned child processes automatically:)
~stratum~

Return to “DSP and Plug-in Development”