The following steps explain how to debug Model Development Studio tasks in Visual Studio. Note: Visual Studio 2017 Community version or higher must be installed.


Steps:


1. Run Mo.net Model Development Studio.

2. Navigate to Options.

3. In Options, select the Code tab. Under Debugger Path field, click browse and navigate to the Visual Studio installation folder and select devenv.exe file.



4. Click OK and then restart Model Development Studio.

5. Once Model Development Studio has restarted, open the project you wish to debug.

6. Navigate to the Tasks tab and select a task.

7. Under Projection Properties | Debugging select the ellipses.



8. In the Debugging dialog, check the Debug Info ? check-box and click OK.



9. Click the Compile button to compile the task.

10. Once successfully compiled, select the drop-down arrow on the Run button and select Run Debug.



11. This will open a new Visual Studio window.

12. Once opened, press F10 to step into, and begin debugging the code.