Hi,
I have a macro that is currently buggy, written in C#. The code is in an overall try/catch block in the Main function of the macro; i.e. any error in my code that throws an exception should be caught by this overall error handler. I was trying to find bugs using try/catch blocks around functions to find where things are going wrong, but when I run it in SolidWorks, all I get is that an unhandled exception occurred in my program.
I can find some of the bugs easily, but why am I getting this message if I am handling the exception at the top level?
Thanks,
Daniel
SolidworksApi macros