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

From VSI OpenVMS Wiki
Jump to: navigation, search
(Debugging)
Line 28: Line 28:
 
If the program is running, everything written in the input debugging console will be sent to the program.
 
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.
 
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.
 +
 +
=== Function breakpoints ===
 +
 +
Press '+' at breakpoints view. Enter function name. QuickPick window with corresponding functions should appear. Select one.
 +
If no dialog appears press re-enable breakpoints.
  
 
[[Category: VMS IDE]]
 
[[Category: VMS IDE]]

Revision as of 09:10, 27 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). No enclosing quotes required!

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.

Function breakpoints

Press '+' at breakpoints view. Enter function name. QuickPick window with corresponding functions should appear. Select one. If no dialog appears press re-enable breakpoints.