Debugging environment variables

When an application was built with the internal option "-debug=true", additional debugging output can be activated by setting the following environment variables.

Table H-6. Debugging environment variables

NameDescription
JAMAICA_DEBUGLEVEL

Defines the debug level of an application that was built with the option debug

Level of 0 :only a small amount of debug output is printed
Level of 10 :very detailed debug output is printed. Note that at a debug level of 10 a simple HelloWorld application will produce thousands of lines of debug output.

A good choice is a level of about 5.

JAMAICA_DEBUGCALLNATIVEDefines a string that gives the name of of a native method. Any call to that method is printed in addition to other debug output. Printing of these calls requires a minimum debug level of 5. If the variable is not set or set to '*', any native call will be printed.
JAMAICA_DEBUGCALLJAVADefines a string that gives the name of a Java class or method. Any call to the specified method or to a method defined in the specified class will be printed in addition to the other debug output. Printing of these calls requires a minimum debug level of 5. If the variable is not set or set to '*', any call is printed. E.g.: setting JAMAICA_DEBUGCALLJAVA to "java/lang/String.length" will print any call to the method java.lang.String.length().