Skip to main content

Kollmorgen Support Network

To better serve our Kollmorgen users with questions too complex to be addressed in this space, we made the painful decision to close this Community forum.

Please submit your question using the contact us form to reach our application engineering team.

For the immediate future, you can still access and read past posts.

Thank you for understanding and for participating in the community over the years.

KVB debugger? | 09 Jan 2015 | |

KVB debugger?

How do you debug C# code in KVB?  What I mean by debug is: set a breakpoint, step thru code and monitor variables in a watch window.

Comments & Answers

david.lhotte said ...

david.lhotte |

You will need to install Visual Studio or Express.

KVB must be configured to target the correct Visual Studio executable in order for the debugging to work. You can configure the target executable under "KVB" -> "Options" -> "Script Debugger options" -> "Debugger".

ix_options2.JPG

Press the debug button to validate the project and start the external debugger with a generated project file.

debug_button.JPG

If you get a compile error about .NET Framework 4.0 not being installed, you can change the project settings to target the ".NET Framework 3.5" and re-compile.

target_3_5.JPG

 

About this Question

Geoff
Taxonomy: