Skip to content

-Xlinenumbers / -Xnolinenumbers

Enables or disables line numbers in stack traces for debugging.

Syntax

Setting Effect Default
-Xlinenumbers Enable yes
-Xnolinenumbers Disable

Explanation

If you start the Eclipse OpenJ9™ VM with -Xnolinenumbers when creating a new shared classes cache, the Class Debug Area is not created. The option -Xnolinenumbers advises the VM not to load any class debug information, so there is no need for this region. If -Xscdmx is also used on the command line to specify a non zero debug area size, then a debug area is created despite the use of -Xnolinenumbers.