Login / Register 0 items | $0.00 New @ KVR
User avatar
vortico
KVRist
 
164 posts since 19 Jul, 2008

Postby vortico; Wed Jun 06, 2018 7:26 pm Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

VCV Rack open-source virtual modular synthesizer
hibrasil
KVRian
 
764 posts since 23 Jun, 2002, from Huddersfield, UK

Postby hibrasil; Thu Jun 07, 2018 5:33 am Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

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
 
164 posts since 19 Jul, 2008

Postby vortico; Thu Jun 07, 2018 5:57 am Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

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
 
764 posts since 23 Jun, 2002, from Huddersfield, UK

Postby hibrasil; Thu Jun 07, 2018 9:42 am Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

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
 
164 posts since 19 Jul, 2008

Postby vortico; Thu Jun 07, 2018 10:35 am Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

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
 
4948 posts since 11 Feb, 2006, from Helsinki, Finland

Postby mystran; Thu Jun 07, 2018 10:52 am Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

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.
Image <- plugins | forum
stratum
KVRAF
 
1852 posts since 29 May, 2012

Postby stratum; Thu Jun 07, 2018 11:05 am Re: HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles

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

Moderator: Moderators (Main)

Return to DSP and Plug-in Development