HelloDAW: "Hello world" examples for VST/AU/AAX/LV2/etc plugins using Makefiles
- KVRist
- Topic Starter
- 323 posts since 19 Jul, 2008
Okay, added dependency tracking. https://github.com/AndrewBelt/HelloDAW/ ... 4fc8783516
VCV Rack, the Eurorack simulator
-
- KVRian
- 876 posts since 24 Jun, 2002 from Berlin
Andrew I am curious do you do all of your debugging on the command line?
- KVRist
- Topic Starter
- 323 posts since 19 Jul, 2008
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, the Eurorack simulator
-
- KVRian
- 876 posts since 24 Jun, 2002 from Berlin
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
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
- KVRist
- Topic Starter
- 323 posts since 19 Jul, 2008
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".
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, the Eurorack simulator
- KVRAF
- 7896 posts since 12 Feb, 2006 from Helsinki, Finland
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.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