Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA BLT API Reference

Debug remotely

If you do not have physical access to the computer hosting the component, you can debug the component remotely from another computer.

To remotely debug Business Logic Tier (BLT) components written in Visual Basic .NET Framework (VB.NET) or C#, the target computer must have Microsoft Remote Tools for Microsoft Visual Studio installed.

In a typical remote debugging scenario, and depending on your network security, you can log on to the system using Terminal Services Client or the Remote Desktop connection and debug processes on another project computer from that session.

To debug remotely

This process is split into two procedures.

On the computer hosting the BLT component 

  1. Start Microsoft Visual Studio Remote Debugger as an Administrator.
    Allow the Microsoft Visual Studio Remote Debugger application to communicate through Windows Defender Firewall.
  2. Select Tools, and then Options.
    The Options dialog appears.
  3. Configure the TCP/IP port number and the authentication mode.

On the computer hosting Microsoft Visual Studio

  1. Start Microsoft Visual Studio as an Administrator.
  2. Select Debug, and then Attach to Process.
    The Attach to Process dialog appears.
  3. From the Connection target dropdown menu, select the remote computer name and the port number (for example, ls1pdcrt1:4024).
  4. From the Attach to field, select Select.
    A dialog appears.
  5. Select Automatic: Managed (v4.6, v4.5, v4.0) code.
  6. Select OK.    
  7. Select the BLTHost process that is hosting your application.
  8. Select Attach.
    Microsoft Visual Studio attaches to the process.
  9. To set a breakpoint in your code, use the debugger.
  10. To stop debugging, without stopping the BLTHost process, select Debug, and then Detach All.  
TitleResults for “How to create a CRG?”Also Available in