Question ID : 34
Created on 2009-08-31 at 4:34 PM
Author : Veryant Support [support@veryant.com]
Online URL : http://support.veryant.com/support/phpkb/question.php?ID=34
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.