How you enable debugging support for the workbench depends
on the details of your configuration.
Before you begin
The pluglet debugging support described is only enabled for
workbench instances that are debuggable. The workbench must be started
with the
-Xdebug and
-Xrunjdwp Java™ VM debug arguments.
The following
table lists the appropriate forms of these debug arguments for IBM® J9 VM, the IBM Classic VM, and the Oracle VM:Java VM |
Java VM debug arguments |
IBM 1.4 J9 |
- -Xj9
- -Xdebug
- -Xrunjdwp:transport=dt_socket,server=y,suspend=n,onthrow=com.ibm.datatools.pluglets.ui.internal.debug.PlugletDebugException,address=8000
|
IBM 1.4 Classic |
- -Xdebug
- -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
|
IBM 1.5 |
- -Xdebug
- -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
|
Oracle |
- -Xdebug
- -Xrunjdwp:transport=dt_socket,server=y,suspend=n,onthrow=com.ibm.datatools.pluglets.ui.internal.debug.PlugletDebugException,launch=none,address=8000
|
Note: The socket port number specified in the address value
of the -Xrunjdwp Java VM argument can be any available port number on your workstation.
The value 8000 that is listed in the debug arguments
table of this document is typically used for debugging, but other
values can be used as well.
What to do next
Launch the pluglet debugger workbench.