Question:
I'd like to be able to step debug through COBOL source into a call to Java and have a Java debugger pop-up or attach and allow me to step through the Java source.
How can I currently do that?
Also, is there a way to step from a Java debugger into the COBOL source and have the isCOBOL debugger take over?
Answer:
To run a COBOL program in debug when it called from Java, do the following:
iscobol.rundebug=2You can also set this variable if you want to specify the debug port:
iscobol.debug.port=[port number]
iscrun -d -rA connect window will open and repeatedly try to connect to an isCOBOL program compiled for debug.
Article ID: 34
Created: August 31, 2009
Last Updated: May 12, 2022
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=34