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:
|
1 |
// global variable: JavaVM g_jvm<br /> string classpath<br /> boolean isdebug<br /> <br /> classpath = "d: estsejbsample;"<br /> isdebug = true<br /> g_jvm.createJavaVM(classpath, isdebug) |
vm.out not created with JDK 1.4 Due to limitations in the Sun JDK 1.4, a vm.out debug
information file cannot be created when you use JDK 1.4. You can
use the Java tab of the System Options dialog box to use JDK 1.3
for debugging.
Tools and techniques for developing Web applications with
PowerBuilder.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest