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.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 783 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings