IBM Support

IBM Debug for Linux on x86 known limitations

Troubleshooting


Problem

The following limitations are being addressed in this document: 
1. irmtdbgc executable was packaged without executable permission
2. The PATH of debugger executable is not getting added by the installer at installation time

3. When using the debugger to step into a separate program in CICS, the program sometimes stops on the second line instead of the first

4. When using the debugger to display the values of variables, characters will not be displayed correctly if the program was compiled with the CHAR(EBCDIC) option

Resolving The Problem

Below are the suggested ways to resolve the above mentioned issues: 
1. The workaround for this issue is to manually change the permissions after installation by using the following command:
chmod +x /opt/ibm/cobol/debug/usr/bin/irmtdbgc
2. The workaround for this issue is to manually add the debugger path to the PATH environment variable by using the following command:
export PATH=$PATH:/opt/ibm/cobol/debug/usr/bin/

3. If you want to stop on the first line, a workaround is to set a breakpoint on the first line

4.1 One way is to change the representation to Hexadecimal to see the hexadecimal values of the characters
4.2 Another way is to monitor the memory for the variable in the Memory view, and an EBCDIC rendering can be added to see the EBCDIC characters

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS7FZ2","label":"IBM COBOL for Linux on x86"},"ARM Category":[{"code":"a8m0z00000007xLAAQ","label":"COBOL"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"1.1.0;and future releases"}]

Document Information

Modified date:
23 June 2021

UID

ibm16462963