Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Passing Run Arguments to the JVM Software

To pass run arguments to the JVM software, set the jvm_invocation environment variable to start the JVM software with those arguments, as in the following example.

jvm_invocation="java -Xdebug -Xms512 -Xmx1024 -Xcheck:jni"

This example causes dbx to start the JVM software as follows:

java –agentlib:dbx_agent=sync= -Xms512 -Xmx1024 -Xcheck:jni