Breakpoint Properties: Line

Use to set the properties of a line breakpoint. You set line breakpoint properties when setting a new breakpoint or when modifying an existing breakpoint.

Element Description

Settings

Breakpoint properties

    File

Specifies the name of the source file that contains the breakpoint

    Line Number

Shows the line number on which the breakpoint is set.

    Unresolved URL

(read-only) Indicates the location of the file in the Resolved URL field as seen by the browser when running the JavaScript debugger.

The line number on which the breakpoint occurs is automatically appended to the URL (for example, http://localhost:8080/MyWebApp/javascript.js*:18*).

Conditions

Conditional expression for the breakpoint

    Condition

Uses a Boolean expression to trigger the breakpoint when the expression evaluates to True.

    Break when hit count

Enables you to specify how frequently the breakpoint is triggered. Choose a criteria in the drop-down list and then specify a numerical value.

Actions

Actions to take when the breakpoint is triggered.

    Suspend

Specifies which threads in the program being debugged are suspended when the breakpoint is reached. You can specify no threads, all threads, or the breakpoint thread. The breakpoint thread is the thread that is current when the breakpoint is reached.

    Enable Group

Enables all the breakpoints in the selected group. The dropdown list contains all named groups and default groups of breakpoints organized by file, project and type.

    Disable Group

Disables all the breakpoints in the selected group.

    Print Text

Prints the specified message in the Debugger Console view of the Output window.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.