Trouble with Debugging using visual studio

Trouble with Debugging using visual studio

vkpunique
Advocate Advocate
1,272 Views
4 Replies
Message 1 of 5

Trouble with Debugging using visual studio

vkpunique
Advocate
Advocate

I am using autocad 2015 with visual studio 2023 community addition to build small autocad addin. But since last fews days i've trouble starting plugin in debug mode. Building project without debugging is working fine. Currenlty i have to manually load dll file to test. Starting debuging in autocad just casing "FatalExecutionEngineError" error.

Anyone having similar issue? I am only having this issue since last 2 days, i am using windows 11.

2024-07-03_13-27-52.png

 

0 Likes
Accepted solutions (1)
1,273 Views
4 Replies
Replies (4)
Message 2 of 5

kerry_w_brown
Mentor
Mentor

Perhaps Try :

Build a new 'HelloWorld" minimal project and try to debug that.

Make a decision how to continue after that test.

Regards,

 

ps: VS 2023 ??


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 3 of 5

kerry_w_brown
Mentor
Mentor

quick search returns this

 

https://forums.autodesk.com/t5/revit-api-forum/debugging-in-vs-does-not-work/m-p/10597302/highlight/...

 

you may be lucky 🙂

 

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 4 of 5

vkpunique
Advocate
Advocate
I found same solution over stackOverflow but visual studio 2022 don't have option for Use Managed Compatibility Mode in debugging
0 Likes
Message 5 of 5

vkpunique
Advocate
Advocate
Accepted solution

Found solution.

I've created new plugin for autocad with package manager. this is set to automatically load on every autocad start. after removing all installed plugins from Autocad, everything is working fine.

0 Likes