Debug the code

The initialization of the debugging process is different for design time and runtime NetLogic.
Prerequisites
  1. To debug the code
  2. In Visual Studio or Visual Studio Code, in the debug mode, open the NetLogic that you want to check.
  3. 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.
  4. 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.