Start debugging on the development machine
Deploy the runtime application to the remote machine and start the debugging process on the development machine.
- From the main toolbar, selectOpen .NET Solution.The default external code editor opens.TIP: We recommend using Microsoft Visual Studio 2022 or Microsoft Visual Studio Code as the default code editor. Some development assistance features may not be available when using a different code editor.
- FromFactoryTalk Optix Studio, deploy theFTOptixApplicationto the target device:
- From the toolbar, next toRun
- Select theRun
- If needed, provide the required credentials and selectOK.
- In Visual Studio, start the debugging process:
- From theDebugmenu, selectAttach to Process.
- SetConnectionTypetoDefault.
- SetConnectionTargetto the name and port that you obtained while performing Prepare the remote debugging target machine.
- SelectFindand select the target device.
- In theWindows authentication window, enter the target device user credentials.
- InAvailable Process, select theFTOptixRuntime.exeprocess.
- SelectAttach.
The debugging process starts. To stop the remote debugging process, close the Remote Debugger desktop application or stop debugging in Visual Studio.
Provide Feedback