Hi,
I have a problem in debugging my .NET add-in for Robot 2014 in Visual Studio 2013. The break point was never hit in both normal VS debug or attach to process "Robot.exe". I don't know if something was wrong or incorrect configuration. There is also the same problem with debugging not hit on AutoCAD prior to 2011, with FIBERWORLD variable is 1 (default). I guess there may be something similar with Robot.
Thanks,
Solved! Go to Solution.
Solved by buchack. Go to Solution.
it may be because you write your code in visual basic .NET but the SDK examples are in visual basic 6.0 so you'll have to convert and add some syntax
I attatch the first example of the SDK pdf and see how I dealed with it.
note that this example was writen in visual stuio 2013 so it'll not be opened in older version so you'll have to copy the designer code and the main code into your project.
http://www.mediafire.com/download/81sg0dyh8j2q04u/my_first_API.zip
http://www.mediafire.com/download/2j447r09696rvvj/RobotAPI.zip
debugging my .NET add-in for Robot 2014 in Visual Studio 2013.
You are attaching in wrong way to robot.exe process.
Full description how to do it correctly should be posted on Friday.
I tried your project in VS 2013 with Robot 2014 and it works normally to debug. The standalone EXE project can be debugged when it connect to Robot via COM. My problem is the DLL project which should attach to Robot.exe, and cannot run as independent application like EXE project.
Thank you.
I am looking forward to the solution on this Friday. My project is DLL not EXE. Thank you.
There are no special tricks to debug add-ins in robot.exe process. The FIBERWORLD variable is meanigless in robot.exe.
Hi Krzysztof,
It works for me now. Yes, there is no special tricks to debug add-ins in robot.exe process. My problem was the .NET add-ins did not load correctly on Robot. Now it's working 🙂
A quick question: will Autodesk have a new Robot store on Autodesk Exchange Apps? This product is growing and will have more developers to introduce apps based on it. I am going to have an app for Robot and will push to Autodesk store.
Thank you,
Khoa