Catch unhandled exceptions in add-in instead of crashing RobotStudio
Options
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.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings