12-06-2020, 11:34 AM
(This post was last modified: 12-06-2020, 11:40 AM by Rick Johnson.)
Thanks, Garrett,
I may be in over my head, but I'll press on. Stopping on every exception makes a LOT of stops, but none I've seen so far with my plugin in the event chain, so I'm working on narrowing the scope down.
My main .cpp file has over 1,100 lines of code (including comments), so it may help to break it up into several separate classes. I have a couple for registration and preferences that require my main file to explicitly call startup, postStartup, etc. for each, but I imagine that's unavoidable, and need to do that for all.
Does this from the Xcode console offer any clues?
#
# Fatal error in v8::HandleScope::CreateHandle()
# Cannot create a handle without a HandleScope
#
It may be possible I'm doing something where I should use pushContext or popContext, but don't understand what that does or know where/how to learn about it. To be honest, my plugins are not that in-depth, pretty much like larger versions of the CORE sample projects.
In the meantime, I'm adding try/catch in hopes of finding something. If I discover something potentially useful to others, I'll report back.
I may be in over my head, but I'll press on. Stopping on every exception makes a LOT of stops, but none I've seen so far with my plugin in the event chain, so I'm working on narrowing the scope down.
My main .cpp file has over 1,100 lines of code (including comments), so it may help to break it up into several separate classes. I have a couple for registration and preferences that require my main file to explicitly call startup, postStartup, etc. for each, but I imagine that's unavoidable, and need to do that for all.
Does this from the Xcode console offer any clues?
#
# Fatal error in v8::HandleScope::CreateHandle()
# Cannot create a handle without a HandleScope
#
It may be possible I'm doing something where I should use pushContext or popContext, but don't understand what that does or know where/how to learn about it. To be honest, my plugins are not that in-depth, pretty much like larger versions of the CORE sample projects.
In the meantime, I'm adding try/catch in hopes of finding something. If I discover something potentially useful to others, I'll report back.