PreviousNext

Set breakpoint preferences

You can set general breakpoint preferences to stop program execution when specific events occur.

    1. On the Debug menu, click Breakpoint.
    2. Select one or more of the following options:
      Option
      Description

      Show Source

      opens the source code at the location at which the breakpoint is set

      Delete

      removes the selected breakpoint from the source code`

      Delete all

      removes all breakpoints from the source code

      On startup

      stops the application before any JavaŽ code is run

      When any exception is thrown

      stops the application when it encounters an exception in the application, regardless of its class

      Before garbage collection

      stops the application before the virtual machine performs a garbage collection

      After garbage collection

      stops the application after the virtual machine performs a garbage collection

You can also set breakpoints for the following panes: Locals, Static data, Watch, Threads, Locks, Processes, and Objects.

    1. On the View menu, click panes.
    2. Right-click a pane.
    3. Click Break when (variable) changes.
    4. Select a variable.

See "Managing breakpoints" for more information on setting breakpoints with iteration counts and conditions.

See "Start the BlackBerry Smartphone Simulator" for more information.

Related topic


   BlackBerry