IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Tracing Java applications and the JVM > Application trace
Implementing application trace
Application trace is in the package com.ibm.jvm.Trace. The application trace API is described in this section.
- Registering for trace
Use the registerApplication() method to specify the application to register with application trace.- Tracepoints
These trace methods are implemented.- Printf specifiers
Application trace supports the ANSI C printf specifiers. You must be careful when you select the specifier; otherwise you might get unpredictable results, including abnormal termination of the JVM.- Example HelloWorld with application trace
This code illustrates a "HelloWorld" application with application trace.
Parent: Application trace
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.