User Guide
DLL Component
4.
5. From the process list select FlowBotics Studio and click 'Attach'
Visual Studio will now attach to FlowBotics Studio. You can set break points in your dll code then trigger the Exec input on the dll component
inside FlowBotics Studio and Visual Studio will stop execution at the break point you have specified. You can now step through your code,
trap crashes and browse variables in the usual way.
In our experience with making the example projects all the crashes we had were due to bugs in the dlls we were creating. So please, before
reporting a suspected bug in FlowBotics Studio do check over your dll code as it is more than likely that this is where the problem will lie.
Code – Test – Debug Cycle
If you spot a bug or need to change your dll then you can do this without exiting FlowBotics Studio or your schematic. However, if you've
already connected and run your dll function you will probably find that when you rebuild your dll you get an error saying that the dll file could
not be opened for writing.
This is because the dll gets file locked by the software when it loads it into memory. To release it simply trigger the Reset input on the DLL
Component.
200 of 212