Debugging Java API code
You can use the following methods to debug your Java™ API code. With the IBM® Product Master Java API, these debugging methods are possible only for web-service-deployed Java API code and extension point Java API code.
Procedure
Debug your Java API
code by using one of the following options:
Option | Description |
---|---|
Print statements | Print statements are sent to the log file of the application
server where the product and its web services are running.
|
Assertions |
|
Java API log file | All PIMExceptions are logged to the
logs/appsvr_yourWPCservername directory in your Product Master server installation directory. |
User interface for Java IDE debugger support | If you are using an IDE with remote debugging capability,
such as RSA (Rational® Software
Architect), you can use your source Product Master Java API project (the project that
contains the Java API interface)
to step through or "breakpoint" the code in your web service when
it runs (and examines variables).
|
Extension points code | You can use your extension point code to debug your Java API code.
|