I have been developing our objectARX programs for many years. The upgrading to new AutoCAD and ObjectARX
version was pretty smoothly until I ran into some weird exception throw errors in AutoCAD 2019 debug version.
Basically it happened when I loaded some data in my custom data structure, e.g. AcArray<mydataclass> myData;
after I completed loading some data and assigned the values to the myData, the error occurred at
AcArray:: setPhysicalLength(int n). Attachments are the pictures for the error. The code was running
very well for previous AutoCAD version as well as ObjectARX. I couldn't figure out what reason causes this.
However after I built the release version on my program, the above errors were gone. I assume this may have
something to do with AutoCAD autoloader. Once I changed the output path of my project to Application pluggIns
bundle folder, debugging on some codes in my program may go wrong. see attached image.