Catch unhandled exceptions in add-in instead of crashing RobotStudio

sehe
✭
Hello,
I'm developing a RobotStudio add-in. Every once in a while my Add-In will throw an exception, and I get a "RobotStudio - Fatal Error" message box. Once you click yes or no, RobotStudio crashes.
Is there an easy way to catch any unhandled exceptions in my Add-In without placing try/catches around every method? I've used the dispatcher unhandled exception handler in other WPF applications, but I can't find anything like that for my add-in.
Thank you for the help!
I'm developing a RobotStudio add-in. Every once in a while my Add-In will throw an exception, and I get a "RobotStudio - Fatal Error" message box. Once you click yes or no, RobotStudio crashes.
Is there an easy way to catch any unhandled exceptions in my Add-In without placing try/catches around every method? I've used the dispatcher unhandled exception handler in other WPF applications, but I can't find anything like that for my add-in.
Thank you for the help!
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings