| JamaicaVM 3.4 — User Documentation: The Virtual Machine for Realtime and Embedded Systems | ||
|---|---|---|
| Prev | Appendix H. Environment variables | Next |
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
| Name | Description | ||||
|---|---|---|---|---|---|
| JAMAICA_DEBUGLEVEL | Defines the debug level of an application that was built with the option debug
A good choice is a level of about 5. | ||||
| JAMAICA_DEBUGCALLNATIVE | Defines 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_DEBUGCALLJAVA | Defines 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(). |