Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug VST in AudioPluginHost #99

Open
hushaudio opened this issue Jun 5, 2024 · 4 comments
Open

Debug VST in AudioPluginHost #99

hushaudio opened this issue Jun 5, 2024 · 4 comments

Comments

@hushaudio
Copy link

Is it possible to debug a VST in the AudioPluginHost or a DAW?

I have an issue that requires me to debug my plugin as a vst but I cannot debug as a vst with the template as is, only as a StandAlone app.

I could create a new projucer project and do it the oldschool way but I'd like to be able to stay in pamplejuce to simplify things and avoid having to copy/paste adjusted code to the pamplejuce project, etc.

Any helpful leads on how to accomplish this would be much appreciated!

@sudara
Copy link
Owner

sudara commented Jun 5, 2024

Is it possible to debug a VST in the AudioPluginHost or a DAW?

Definitely! I use the AudioPluginHost daily.

The setup will depend on your IDE. Once you have the AudioPluginHost built, you should be able to select the executable you want to start up after build in your "scheme" or "configuration" (different IDEs use different terminology here).

In Xcode, be sure to check "Debug Executable"
Arc - 2024-06-05 32@2x

DAWs can be slightly more tricky...

@hushaudio
Copy link
Author

Ah yes, I use xcode for debugging usually, but I am using the cmake builds. Does pamplejuce create an xcode project or does that need to be done manually?

@hushaudio
Copy link
Author

hushaudio commented Jun 5, 2024

ah, found the way -> cmake -G Xcode ., though im getting an error when I try build it test_plugin/<command line>:64:9 'JUCE_WEB_BROWSER' macro redefined

@sudara
Copy link
Owner

sudara commented Jun 5, 2024

oh were you just using cmake to build the binaries before? Interesting...

not sure re: the macro... maybe make sure you clean the build folder if you are switching generators to Xcode (or use a different build folder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants