.. _Breakpoints:

Breakpoints
===========


When you launch a debug session or connect to an existing one, you have the option to use the Eclipse breakpoints, the Simulator breakpoints or merge them.

**Double-click in the Editor to Add/Remove a Breakpoint**

You can double-click on the vertical left bar of the editor to add/remove a breakpoint.

.. figure:: ../../images/dvt_debug_doubleclick_for_breakpoint.png



**The Breakpoints View**

.. figure:: ../../images/dvt_debug_breakpoints_view.png



Double click on a breakpoint to go to source file.

Check/uncheck a breakpoint to enable/disable.

Right-click to see breakpoint properties and change them.

.. figure:: ../../images/dvt_debug_breakpoint_properties.png



A number of convenient actions are available in the Breakpoints View toolbar:

.. list-table::
   :header-rows: 1
   :widths: auto

   * - .. figure:: ../../images/common/generic_icons/go_to_file.png
     - Show source file
   * - .. figure:: ../../images/common/generic_icons/skip_all_breakpoints.png
     - Disable all breakpoints
   * - .. figure:: ../../images/icons/dbg16/new_br.png
     - Add new breakpoint
   * - .. figure:: ../../images/icons/dbg16/sync_br.png
     - Synchronize breakpoints - in case you have discrepancies between DVT breakpoints and the simulator
   * - .. figure:: ../../images/common/generic_icons/remove.png
     - Remove breakpoint
   * - .. figure:: ../../images/common/generic_icons/remove_all.png
     - Remove all breakpoints


**New Breakpoint (e Language Only)**

Click on the Add new breakpoint button to create a custom breakpoint: you can use any legal breakpoint command.

.. figure:: ../../images/dvt_debug_new_breakpoint.png



