Difference between revisions of "VMS IDE for Java (Kotlin, Scala)"

From VSI OpenVMS Wiki
Jump to: navigation, search
(Steps to run java project)
Line 1: Line 1:
 +
 +
'''Note: coming soon'''
  
 
== Steps to run java project ==
 
== Steps to run java project ==
Line 10: Line 12:
 
# Run
 
# Run
  
'''Note: coming soon'''
+
== Abilities ==
 +
 
 +
* Java, Scala or Kotlin project can depend on other Java, Scala or Kotlin projects.
 +
 
 +
== Debugging ==
 +
 
 +
In order to use breakpoints one should execute '''Collect Java classes''' before debugging if project is changed and built.
 +
 
 +
Breakpoints are shown grayed until corresponding class is loaded into memory. Also they are grayed if no java class information collected.
 +
 
 +
String variable is displayed 'as is', without escaping. Char variable is escaped if its value is less than 0x20 or greater than 0x7f.
 +
 
 +
To set the value of a string or char variable, you can write an escaped string (in java rules).
 +
 
 +
If the program is running, everything written in the input debugging console will be sent to the program.
 +
If the program is paused, everything written in the input debugging console will be sent to the debugger. So be careful not to break the debugger. For example 'eval a=100' will change the value of variable and this won't be caught by extension.
 +
 
 
[[Category: VMS IDE]]
 
[[Category: VMS IDE]]

Revision as of 09:25, 23 August 2019

Note: coming soon

Steps to run java project

  1. Change project settings: project type (java, scala or kotlin), project name, root folder, source, headers, resource and listing masks
  2. Write code
  3. Create MMS
  4. Upload
  5. Build
  6. Collect Java classes
  7. Run

Abilities

  • Java, Scala or Kotlin project can depend on other Java, Scala or Kotlin projects.

Debugging

In order to use breakpoints one should execute Collect Java classes before debugging if project is changed and built.

Breakpoints are shown grayed until corresponding class is loaded into memory. Also they are grayed if no java class information collected.

String variable is displayed 'as is', without escaping. Char variable is escaped if its value is less than 0x20 or greater than 0x7f.

To set the value of a string or char variable, you can write an escaped string (in java rules).

If the program is running, everything written in the input debugging console will be sent to the program. If the program is paused, everything written in the input debugging console will be sent to the debugger. So be careful not to break the debugger. For example 'eval a=100' will change the value of variable and this won't be caught by extension.