Debug NetLogic remotely

With Visual Studio, you can remotely debug a runtime NetLogic on Windows systems.

Tip: Remote debugging is not possible on HMIs for security reasons. For more information about remote debugging, see Remote debugging - Visual Studio (Windows) | Microsoft Learn.

To debug NetLogic locally, see Debug NetLogic locally.

Prerequisites

  • On the development machine, download Visual Studio and set as the default code editor. See Set the default code editor.

  • Verify that the client machine and the development machine are connected to the same network.

To debug runtime NetLogic remotely
  1. Configure the remote Windows machine as a target in FactoryTalk Optix Studio. See Add a client device.
  2. Prepare the remote machine for debugging.
  3. Start debugging on the remote machine.
  4. Stop the debugger and application runtime and then edit the code.
    Tip: To stop the remote debugging process, close the Remote Debugger desktop application or stop debugging in Visual Studio.
  5. Repeat 3.