Start debugging on the development machine

Deploy the runtime application to the remote machine and start the debugging process on the development machine.
  1. From the main toolbar, select Open .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.
  2. From
    FactoryTalk Optix Studio
    , deploy the
    FTOptixApplication
    to the target device:
    1. From the toolbar, next to the the Run icon, select the down arrow and select the target device.
    2. Select the Run.
    3. If needed, provide the required credentials and select
      OK
      .
  3. In Visual Studio, start the debugging process:
    1. From the
      Debug
      menu, select
      Attach to Process
      .
    2. Set
      ConnectionType
      to
      Default
      .
    3. Set
      ConnectionTarget
      to the name and port that you obtained while performing Prepare the remote debugging target machine.
    4. Select
      Find
      and select the target device.
    5. In the , enter the target device user credentials.
    6. In
      Available Process
      , select the
      FTOptixRuntime.exe
      process.
    7. Select
      Attach
      .
The debugging process starts. To stop the remote debugging process, close the Remote Debugger desktop application or stop debugging in Visual Studio.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.