Debug the code
The initialization of the debugging process is different for design time and runtime NetLogic.
Prerequisites
- To debug the code
- In Visual Studio or Visual Studio Code, in the debug mode, open the NetLogic that you want to check.
- Do any of the following:
- If the NetLogic is at runtime, selectStart Debuggingor press.F5
- If the NetLogic is at design-time, inFactoryTalk Optix Studio, right-click a NetLogic and select a method to execute.
- Debug the code.For more information on debugging in Visual Studio, see First look at the debugger - Visual Studio (Windows) | Microsoft Docs.For more information on debugging in Visual Studio Code, see Debugging in Visual Studio Code.
Provide Feedback