Setting Breakpoints

You can set breakpoints in your code one of two ways.

Procedure 3.19. To set breakpoints in your code:

  • You can double click the gray area next to your code in Studio. A blue dot will appear indicating the line is a breakpoint.

    Figure 3.38. Example of a breakpoint.
    images/download/attachments/144835060/studio_74-version-1-modificationdate-1645039267000-api-v2.png

    Alternatively, you can press Ctrl + Shift + B to toggle a breakpoint in the code editor.

Breakpoints can only be set in .java files and do not work in other files such as XML, JavaScript, etc.