RobotStudio event

Debug robotstudio using visualstudio 2005(VB)

Hi


How can i use  Visualstudio to debug VB code in Robotstudio.

 
Knud E Lindberg2008-12-02 14:32:33
Regards
Knud Erik Lindberg
Jorgensen Engineering

Comments

  • Quite easy
    Select properties on your project then change output path (build tab) to "where you installed RS"inaddins
    Then changed start external program (debug tab) to RobotStudio.exe.
    You will now be able to start debug from VS
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • Hi Per
    Thanks Smile

    Can i prevent RS from closing when i stop the debuger in vb studio ?
    Regards
    Knud Erik Lindberg
    Jorgensen Engineering
  • Well you can attach VS to a running process(like RS) but the issue is that if you want to make modifications on your addin you need to restart RS because the addin is loaded when you start RS.
     
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • dear mr. PerSvensson.
    I am trying to debug my C# programs. I am using VS2008 and RS6.05.
    I applyed the two thinks (outout path, external program) which you mentioned above.
    After pressing F5 this appear:



    do you have clue what happen or what I forgot to do?
    thanks.

  • dear mr. PerSvensson.
    I am trying to debug my C# programs. I am using VS2008 and RS6.05.
    I applyed the two thinks (outout path, external program) which you mentioned above.
    After pressing F5 this appear:



    do you have clue what happen or what I forgot to do?
    thanks.

    It seems like you might have not selected the correct path for the RobotStudio.exe, please check that you have selected the correct file location.