Attaching WebSphere Studio Application Developer to a remote debug session

Why and when to perform this task

The steps below describe how to attach WebSphere Studio Application Developer to a remote debug session on WebSphere Application Server for z/OS. Remote debugging can prove useful when the program you are debugging behaves differently on a z/OS system than on your local system.

Steps for this task

  1. Enable the debug engine on WebSphere Application Server for z/OS using the administrative console. See Debugging Service details.
  2. Import the Java source code you wish to debug into WebSphere Studio Application Developer and set breakpoints. See the WebSphere Studio Application Developer information center at http://publib.boulder.ibm.com/infocenter/wsphelp/ for instructions on setting breakpoints.
  3. Open a WebSphere Studio Application Developer debug perspective and create a debug session configuration.
  4. Attach WebSphere Studio Application Developer to the WebSphere Application Server for z/OS debug runtime. See "Connecting to a remote VM with the remote Java application launch configuration" in the WebSphere Studio Application Developer information center at http://publib.boulder.ibm.com/infocenter/wsphelp/
  5. Execute the Java code in WebSphere Application Server for z/OS to hit the breakpoints set in WebSphere Studio Application Developer.
  6. Use WebSphere Studio Application Developer debugger controls and features to debug the application.

Related concepts
Debugging WebSphere Application Server applications
Related topics
WebSphere combined information center



Searchable topic ID:   ttrb_attachWSAD
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/ttrb_attachWSAD.html

Library | Support | Terms of Use | Feedback