Debug the code

The initialization of the debugging process is different for design time and runtime NetLogic.
  1. In Visual Studio or Visual Studio Code, in the debug mode, open the NetLogic that you want to check.
  2. Do any of the following:
    • If the NetLogic is at runtime, select
      Start Debugging
      or press
      F5
      .
    • If the NetLogic is at design-time, in
      FactoryTalk Optix Studio
      , right-click a NetLogic and select a method to execute.
  3. 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
Have questions or feedback about this documentation? Please submit your feedback here.