~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/debug/CSH/breakpoint_class.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
Import upstream version 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--
 
3
* Copyright � 2007 Sun Microsystems, Inc. All rights reserved.
 
4
*     Use is subject to license terms.
 
5
*
 
6
-->
 
7
<html>
 
8
    <head>
 
9
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
10
        <title>Breakpoint Dialog Box: Class</title>
 
11
        <link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
12
    </head>
 
13
    <body>
 
14
 
 
15
        <h2>Breakpoint Dialog Box: Class</h2>
 
16
        <p><small><a href="#seealso">See Also</a></small></p>
 
17
 
 
18
        <p>You use this dialog box to set the properties of a class breakpoint.</p>
 
19
        <p>You can set class breakpoint properties when you set a new breakpoint or when modifying an
 
20
        existing breakpoint.</p>
 
21
        <ul>
 
22
            <li>To set a new class breakpoint, choose Run &gt; New Breakpoint 
 
23
            (Ctrl-Shift-F8) from the main menu, then select Class from the Breakpoint Type drop-down list.</li>
 
24
            <li>To customize an existing class breakpoint, right-click the class breakpoint in the
 
25
            Breakpoints window and choose Customize.</li>
 
26
        </ul>
 
27
        
 
28
        <ul class="note">
 
29
            <li>If the fields in the dialog box are already filled in, 
 
30
            the information is based on the location of the insertion point in the Source Editor.</li>
 
31
        </ul>
 
32
 
 
33
        <p>You can set the following values:</p>
 
34
        <ul>
 
35
            <li><b>Settings.</b>
 
36
            <ul>
 
37
                <li><b>Class Name.</b> The name of the class file you want the 
 
38
                debugger to stop on. You can use an asterisk (*) for the class name 
 
39
                if you do not want to specify just one class. For example, 
 
40
                if you specify <tt>java.lang</tt> as the package name and * for the class name, the 
 
41
                breakpoint applies to any class from the package <tt>java.lang</tt>. 
 
42
                You can then use the Exclude Classes condition to specify certain classes that
 
43
                do not trigger the breakpoint.</li>
 
44
            <li><b>Stop On.</b> Select which of the following triggers the breakpoint.
 
45
                <ul>
 
46
                    <li><b>Class Load.</b> The breakpoint is triggered when the 
 
47
                    class is loaded into the virtual machine. </li>
 
48
                    <li><b>Class Unload. </b>The breakpoint is triggered when the 
 
49
                    class is unloaded from the virtual machine. </li>
 
50
                    <li><b>Class Load or Unload.</b> <b> </b>The breakpoint is triggered 
 
51
                    when the class is loaded and when it is unloaded from the virtual machine.</li>
 
52
                </ul>
 
53
            </li>
 
54
            </ul>
 
55
        </li>
 
56
        <li><b>Conditions</b>
 
57
            <ul>
 
58
            <li><b>Exclude Classes.</b> When selected, enables you to specify classes to exclude. 
 
59
            Excluded classes do not trigger the breakpoint when they are loaded.
 
60
            If not selected, the breakpoint is triggered by any classes matching the Class Name setting.</li>
 
61
            <li><b>Break when hit count.</b> When selected, enables you to specify how frequently the breakpoint is triggered. 
 
62
            Choose a criteria in the drop-down list and then specify a numerical value.</li>
 
63
            </ul>
 
64
        </li>
 
65
        <li><b>Actions.</b> The actions to take when the breakpoint is triggered.
 
66
            <ul>
 
67
                <li><b>Suspend.</b> Specifies which threads in the program 
 
68
                being debugged are suspended when the breakpoint is reached. 
 
69
                You can specify no threads, all threads, or the breakpoint 
 
70
                thread. The breakpoint thread is the thread that is current 
 
71
                when the breakpoint is reached.</li>
 
72
                <li><b>Print Text.</b> The specified message is printed 
 
73
                in the Debugger Console view of the Output window. For information 
 
74
                on the tags you can include in the message, see 
 
75
                <a href="../debug_print_breakpoint_message.html">Printing a Breakpoint Message</a>. </li>
 
76
            </ul></li>
 
77
        </ul>
 
78
 
 
79
        <dl>
 
80
            <dt><a name="seealso">See Also</a></dt>
 
81
            <dd><a href="breakpoint_window.html">New Breakpoint Dialog Box</a></dd>
 
82
            <dd><a href="../breakpoint_setting.html">Setting a Java Breakpoint</a></dd>
 
83
            <dd><a href="../breakpoint_about.html">Breakpoints in the IDE</a></dd>
 
84
            <dt>&nbsp;</dt>
 
85
        </dl>
 
86
        <hr>
 
87
        <small><a href="../../credits.html">Legal Notices</a></small>
 
88
        <table cellpadding="50" border="0">
 
89
            <tr>
 
90
                <td>&nbsp;</td>
 
91
            </tr>
 
92
        </table>
 
93
    </body>
 
94
</html>