# JavaScript Breakpoint Properties: DOM

You use this dialog box to set the properties of a JavaScript DOM breakpoint. You set DOM breakpoint properties when you set a new breakpoint or when you modify an existing DOM breakpoint. You can open this dialog box by right-clicking a DOM breakpoint in the Breakpoints window and choosing Properties.

You can use a DOM breakpoint to debug events related to changes in the DOM tree of a file. The breakpoint is triggered when the selected change to the selected object node occurs.

You can set a DOM breakpoint by right-clicking an object in the DOM tree in the Navigator window and choosing one of the breakpoint properties in the popup menu.

You can set the following values in this dialog box.

Value | Description
--- | ---
DOM Node | Specifies the object node in the DOM tree.
File | Specifies the name of the source file that contains the breakpoint.
on Subtree Modifications | When selected, any changes to objects in the subtree of the DOM node will trigger the breakpoint.
on Attributes Modifications | When selected, any change in the attributes of the DOM node will trigger the breakpoint.
on Node Removal | When selected, the breakpoint is triggered when the DOM node is removed.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.