currently I am developing a simple Synthesizer with JUCE. Until now I’ve done almost all coding under macOS and XCode. As host app I am using Logic Pro X. Everything works like a charm, no matter if with or without debugging enabled.
Here is a screenshot for those who are interested:
A few days ago I’ve ordered a Windows 10 machine, to be able to compile the Plugin as a VST for Windows. I am using Visual Studio 2015 Update 3 for compiling and have a good I7 machine with decent audio hardware, having all latest drivers and updates installed.
As long as I just compile a release build and run the plugin in Reaper, Ableton or the Plugin Host Demo,
everything works fine. But if I compile the debug build (with optimizations disabled) and run it,
the audio stops working almost immediately after pressing a key on the keyboard.
The problem occurs with all audio devices I own, which are a Focusrite Scarlett 6i6, a Presonus StudioLive 16.0.2 and a ZOOM U-24.
This way I am not able to debug the plugin under Windows, which is very disappointing.
Does anybody have a suggestion for me or had this problem already? Maybe we need to dig into the code to spot the problem?
Any advice is highly appreciated.