Home

 

Considerations for the Jython debugger

The Jython debugger only supports debugging of script that are running on WebSphere Application Server Version v6.1 or v7.

You can debug a Jython script that has been developed or imported into a Jython project. When you are debugging a Jython script, you can set line breakpoints.

When the workbench is running the script and encounters a breakpoint, the script temporarily stops running. Execution suspends at the breakpoint before the script is executed, at which point you can check the contents of variables. You can then step over (execute) and see what effect the statement has on the script.

Using the Debug Launch configuration, you can launch a debugging session for a given Jython script on either the local test server or a server running on a remote machine. If the target environment is on a remote machine, then the host and port numbers must be configured in the wsadmin arguments field. Refer to the Application Developer online help for details on this feature.

Tip: To debug a Jython script, the server does not have to run in Debug mode.

ibm.com/redbooks