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
- Configure the remote Windows machine as a target in FactoryTalk Optix Studio. See Add a client device.
- Prepare the remote machine for debugging.
- Start debugging on the remote machine.
-
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.
- Repeat 3.