Debugging the client

The createJavaVM method of the JavaVM class takes a boolean value as a second argument. If this second argument is "true", execution information, including class loads, are logged to the file vm.out in the directory where the application resides:

// global variable: JavaVM g_jvm
string classpath
boolean isdebug

classpath = "d:\tests\ejbsample;"
isdebug = true
g_jvm.createJavaVM(classpath, isdebug)