Hi everybody, I have investigated, and found out more.
In general, what happens, is that this "breakpoint" actually is a CRITICAL Stop.
The output window says:
p:\c4d_perforce_work\release\16.0\modules\c4dplugin\source\src\richard\genesis\ge_container.h(329):
CRITICAL: Stop CINEMA 4D.exe has triggered a breakpoint.
There are several causes. It happens when
BaseLink* GetBaseLink(void)
is called, among other things. My plugin is rather big, so to say. Many tags, lots of classes and thousands of lines with source code. I wrote it back in 2013. And it works fine in the old C4D versions, compiled in VS 2010. It is the transition to the newer SKD which is making problems.
I have now, since my last post, made the plugin load, without problems, albeit with much of the functionality disabled (commented out). What I need now, is time to relearn the SDK, and relearn how the C4D plugin system works. And gradually transfer my source code so that it is compatible with newer SDK versions. So I am, step by step, trying to make it work again, by uncommenting code and run tests.
Be prepared for more questions from me
For my part, this case can be closed as solved.
-Ingvar