API: debug procedure?
john_yu
✭
in RobotStudio
Hi,
I was using VB6 to do an addin for RS 3.2 and I am trying to convert it for RS5 using VS2005.
In the good old time with VB6, the debugging procedure was very simple and easy: click Start Debugging ... in VB6 and then start RobotStudio. In the middle of the work, the debugging mode can be stopped in VB6 and resumed without shutting down RS.
It now seems that RobotStudo 5 has to be closed first and started again to see the debugging result after overwriting the old dll with the new one. Am I right here? What is the debugging procedure with RS5 and VS 2005 if there is a simple one? Thank you very much.
John
john_yu2008-1-11 23:13:200
Comments
-
Hi John,
Yes you are right. In .NET, an assembly (dll) can never be unloaded from it's application domain. And since RobotStudio runs addins in it's own (main) appdomain, they can't be unloaded without shutting down RS.
VSTA overcomes this by running the addin in a separate application domain. But that brings another set of problems an limitations..
regards,
Johannes
Johannes Weiman2008-1-14 14:3:27Johannes Weiman
Software Engineer
ABB Robotics0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings