Setting a Breakpoint in a Java or EJB Managed Bean

Set breakpoints in any Java class that will be executed in the Web appliction to help debug the application.

To set a breakpoint in a Java or EJB managed bean:

  1. In the Data Bindings view of the Web Application Development perspective, right-click the Java managed bean in which you want to create a breakpoint and select Open from the context menu.

    The source code for the bean opens in the Web Page editor.

  2. Double-click in the ruler to the left of the source code in the location that you want to create a breakpoint.

    A marker appears indicating a breakpoint.

  3. Repeat step 2 to create the necessary breakpoints to help you debug the Web application.

  4. To disable a breakpoint, double-click the marker.

    The marker is deleted.

    Note

    You can debug a managed beran using either EAServer or the Apache Tomcat server.

Next: Deploying and Debugging a Web Application

Setting a Breakpoint in a Web Page

Web Application Development Perspective

Web Page Editor

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com