Error popped out when creating add-on for AutoCAD

Asked By 0 points N/A Posted on -
qa-featured

It seems to be difficult for me to resolve this. Can you please help me how to fix this?

An error has just popped up when I created add-on for AutoCAD.

At first, everything was quite okay, but then, I suddenly get annoyed with this message below. Can you give me some suggestions so that I can work this out?

I have searched the web on how to do it, but I totally don’t understand. Any simple ways to fix this?

AutoCAD: Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue. Exception has been thrown by the target of an invocation.

SHARE
Answered By 0 points N/A #138718

Error popped out when creating add-on for AutoCAD

qa-featured

These type of exceptions are very known and I always recommend few things to people so that they can tackle these type of exceptions.

  1. First of all, break up the code into separate parts each having their own identity.
  2. Now run the code separately to see which part of the code is giving the exception.
  3. When two parts of code are correct, merge them and move to the next level.
  4. When you have found the part of the code with the problem then use the try catch block in it.
  5. See where are the expected exceptions can take place in the code and use these blocks to tackle any exception.

Related Questions