Debug external routines, Set up the debug session – Rockwell Automation 1789-L10_L30_L60 SoftLogix 5800 System User Manual User Manual

Page 136

Advertising
background image

136

Rockwell Automation Publication 1789-UM002J-EN-P - December 2012

Chapter 7

Develop External Routines

Debug External Routines

You can debug external routines by setting up a debug session.

Set Up the Debug Session

If you built your DLL with Program Database Symbolic Information (PDB), you
must copy the PDB file into the directory where the External Routine DLL is
copied during a download to the controller. This file is not copied as a part of the
normal download to the SoftLogix controller.

For example, if you have a controller in slot 3 that is using an External Routine
DLL called InlineExample.dll, copy InlineExample.pdb to:

C:\Program Files\Rockwell Automation\SoftLogix 5800\data\slot03.

The location 1C:\Program Files\Rockwell Automation\SoftLogix 5800’ is
where the SoftLogix controller is installed. The location ‘\data\slot03’ is where
data related to a particular instance of the controller resides. The slot directory is
created as needed when a controller is inserted into the SoftLogix Chassis
Monitor.

Advertising