Why does assembler show when debugging AudioPluginHost?

I am debugging my plugin attached to the AudioPluginHost. It’s hitting an assert, and jumping into assembler code, in what appears should be accessible JUCE code.

However, putting breakpoints in other places in this module seem to work correctly.

Here, it’s hitting the assert in juce::MidiEventList::toMidiMessage(). Does this mean my version of the APH is out of sync with the source code or something?

MacOs, Xcode 13.2.1.

Did you build the AudioPluginHost in Release, or Debug? It’ll need to be a Debug build (or at least built with debug info) to see the proper stack trace in the IDE.

I rebuilt the AudioPluginHost and the issue went away. I was in a Debug build, but I guess I was out of sync or something.

1 Like