Rocket® JVM COBOL Extension (formerly a Micro Focus® product)
Micro Focus® is a trademark of OpenText; Rocket Software is not affiliated with OpenText.
The Rocket JVM COBOL extension provides support for debugging JVM COBOL code in Visual Studio Code on Windows and Linux.
Features include:
Compilation of JVM COBOL code - supports the automatic compilation of source files when an Eclipse COBOL project is present.
Debugging JVM COBOL code - supports debugging of JVM COBOL code. Features include - debug configurations, breakpoints, variables, stepping through the code, and more.
The extension requires and will automatically install the Rocket COBOL Extension.
A compatible, licensed version of either Rocket Visual COBOL for Eclipse or Rocket Enterprise Developer for Eclipse must be installed on the same machine for compiling and debugging to work. See the Additional Software Requirements topic in the documentation for the minimum required versions of these products, and for any other requirements.
New Features
What's new in version 1.0.1
Attach to process debugging support has been added.
Debugging JVM COBOL code
After installing this extension, you need to register JVM COBOL debugging support to be able to debug JVM projects. You only need to do this once:
Invoke the Visual Studio Code Command Palette widget - click Ctrl+Shift+P.
Scroll down or start typing the following, then click Register JVM COBOL support with Java Language Server (JDT LS) in the list. This adds the COBOL support to the JVM debugger.
Next, you need to create a launch.json file for your sources. See the full documentation for details about the available configurations for JVM COBOL.
To launch debugging:
Set any breakpoints in your programs as required.
In the EXPLORER pane, click Run > Start Debugging.
Debug your project in the usual way.
Check the TERMINAL, OUTPUT, and PROBLEMS pane for any messages. There is a different debug terminal for each program you debug.
Scope of the Support in this Version
Refer to the documentation of the Rocket COBOL extension available here for details on what features are available, and about any limitations.