Tips for Debugging

really? that’s weird. unless i misunderstand you, but when i debug plugins in my daw it totally draws my DBG to the console. in VS i rightclicked the vst solution and went to its properties, there to debug and put my daws path to “Command”. then enable copystep in the projucer and it will totally print the messages to the console if you start the debug from visual studio

Are you attaching Visual Studio to the DAW, for debugging? If you do that, you should be able to get audio into the plugin, and see the DBG consol messages.

On Windows you can use a separate debug viewer, so you can see debug output without using a debugger: https://docs.microsoft.com/en-us/sysinternals/downloads/debugview

1 Like

Yes I want this, are you using VS 2019? If so, where did you the specify the DAW target executable to be part of the debugging process?

VS 2019: In the Plugin’s Project Properties, you enter the path to the AudioPluginHost executable in Configuration Properties > Debugging > Command.