So I was able to get my plugin code to a point where it successfully builds. I opened Logic Pro X, attaching a debugger to it via Xcode. I was able to get the plugin editor window to show, but when I click the ‘Settings’ button I had put in it, all heck breaks loose. Each time, the debugger traced it back to JUCE module code, not my code. I have a feeling I’m doing something wrong, because I’m sure if JUCE was this buggy normally, there’d be more talk about it.
-
Initially had the settings window constructor call DocumentWindow constructor with
findColour(DocumentWindow::backgroundColourId), but that caused a crash traced back to some internalStringfunction, so I changed it toColours::grey, as an interim solution. -
In the same constructor, I started with the line
centreWithSize (300, 300);which caused the same crash, this time traced to a call ofRectangle<int>::getHeight()orgetWidth()or something. Interim solution was to just comment the line out for now. -
In my window’s
resized()function, it crashed, again, traced back toRectangle<int>::getWidth()This was my latest debug session. A screenshot of it can be found in the “crash logs” folder of the source repo, found here: https://github.com/NebuHiiEjamu/CinemixAutomationBridge
Thanks for everyone’s support! I really appreciate it.
