Legacy Plugin written in C++/CLI crashing with AutoCad 2025

Legacy Plugin written in C++/CLI crashing with AutoCad 2025

john_emmatty
Observer Observer
205 Views
0 Replies
Message 1 of 1

Legacy Plugin written in C++/CLI crashing with AutoCad 2025

john_emmatty
Observer
Observer

I've been updating a C++/CLI plugin for AutoCAD, originally designed for a legacy system. This plugin has been functional and compatible with AutoCAD versions up to 2024. However, upon adapting it for AutoCAD 2025 and linking it with .NET 8.0, I've run into a problem where the plugin causes a crash.

 

I suspect the crash may be linked to thread initialization that occurs during the declaration of global variables in my code. Complicating matters, AutoCAD terminates as soon as the plugin is activated, which prevents me from isolating the crash's precise location—my breakpoints aren't being hit, and the codebase is quite extensive.

 

Does anyone have insights on how to debug under these circumstances? Additionally, are there debugging symbols available for AutoCAD 2025 that could aid in resolving this issue?

0 Likes
206 Views
0 Replies
Replies (0)