Breakpoint Properties: Thread

Use to set the properties of a thread breakpoint.

Element Description

Settings

Breakpoint properties (class file and triggers)

    Stop on

Defines when to trigger the breakpoint at a thread start, thread death, or both.

        Thread Start

Triggers the breakpoint when a thread starts.

        Thread Death

Triggers the breakpoint when a thread stops.

        Thread Start or Death

Triggers the breakpoint when a thread starts and when it stops.

Conditions

Conditional expression for the breakpoint

    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.