To Configure a Project for Debugging

You must configure the project within Visual Studio to enable debugging.

  1. Use the Microsoft Visual Studio File, Open, Project Solution option to browse to, and open the project file to debug.
  2. From the Project menu, select Properties, and on the left of the screen, select the COBOL tab.
  3. In the General area, select the Compile for Debugging checkbox.
  4. On the left of the screen, select the Debug tab, and configure the screen as follows:
    CICS User
    You can restrict the debugger to debug only transactions from a specific user. If you leave this field empty, the debugger debugs transactions from any user.
    Terminal
    You can restrict the debugger to debug only transactions from a specific terminal ID. If you leave this field empty, the debugger debugs transactions from any terminal.
    Transaction
    You can restrict the debugger to debug only specific transactions. If you leave this field empty, the debugger debugs all transactions.
    Enable SQL Server Debugging
    Enable this checkbox if you want to debug SQL stored procedures . You will also need to enable SQL/CLR debugging in the SQL Server Object explorer by right clicking on the SQL server instance that is hosting your database and selecting the Allow SQL/CRR debugging checkbox
  5. On the right side of the screen, select the project and open the properties pane
    Database Server Instance
    The SQL server database that the region will use
    Host
    The hostname or ip address where the listener willl be running
    MFBINP Port
    The port number for the MFBINP protocol
    Region Name
    The name of the region tjat hosts the application to debug
    TN3270 Port
    The port number that the listener will respond to for the TN3270 protocol for this region