If you are having trouble figuring out why your application is not working, you can use the debugger to step through your source code line-by-line and locate the problem. The debugger allows you to set breakpoints, step through your code line-by-line, view local variables, set watches on variables and expressions, and view the call stack and exception information. Note that when you debug an application in WebLogic Workshop, you are debugging the application as it is deployed on your development server.
To Start the Debugger
Note: You can quickly clear a breakpoint by clicking the red circle and you can quickly set a breakpoint by clicking anywhere in the left edge of a line.
When the line on which you have set a breakpoint is run, the web service pauses and you are returned to the source view of the WebLogic Workshop at the breakpoint. Now you can step through the code, using the Continue, Step Over, Step Into, and Step Out commands from the Debug menu. You may inspect and change the values of variables that are currently defined and see the call stack by using the debug windows available on the View menu.
To learn more about debugging with WebLogic Workshop, see Debugging Your Application.