Attaching Visual Studio to Ableton for plugin debugging

Hi friends - getting started here… thanks for helping.

I’m trying to get set up debugging for my vst in Ableton Live by attaching the Visual Studio debugger.

One problem is that I’m not sure where to point the Live VST directory in preferences. I imagine this would allow me to load the build.

Next I’m not sure if I’ve got Visual Studio set up correctly.

Here’s a screen shot of my Visual Studio settings:

I’m uncertain if I need command to be set for the *_VST3 or the *_SharedCode.

Thank you for the guidance.

Andrew

Set it for _VST3, the shared code portion by itself can’t be debugged.

Do you have the plugin copy step enabled in Projucer? That should put the .vst3 file in the correct shared folder where Live should be able to find the plugin. (You are using the latest Live beta with VST3 support, right? VST3 hosting is a new upcoming feature in Live.)

Ok, now running the latest Live beta and I have copy step enabled. Should I be looking for the VST in the plugin window of the Live inspector?

Also, I noticed the plugin window is still launching on it’s own when I hit the “Local Windows Debugger” play button.

Right click on the _VST3 in the Solution Explorer and set it as the Start Up project. (The default for the start up project is the Stand alone application build, which will build and start the plugin as a stand alone application. IIRC that also skips building the plugin completely if you directly start debugging instead of building the whole solution.)