Technote (troubleshooting)
Problem(Abstract)
The IBM Debugger for AIX stops at a source line near where the breakpoint was set . Also, the color of the source lines is sometimes wrong.
Symptom
Executable code should be blue. Comments should be green. The following incorrectly shows the SUBTRACT in green and the comment in blue. The ADD and MULTIPLY are correct in blue. Not only that, but the debugger wrongly stopped on the comment when a line-breakpoint was set on the SUBTRACT.
ADD 40 TO HOURS.
SUBTRACT 50 FROM DAYS.
* THIS IS A COMMENT
MULTIPLY 60 BY WEEKS.
Cause
The .cbl source file differs from the one used at compile time.
Environment
AIX
Resolving the problem
Be sure the same unmodified source file, such as foobar.cbl, is available at debugging time as was used when you compiled it.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.