~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/watch_window.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>New Watch Dialog Box</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>New Watch Dialog Box</h2>
 
16
<p><small><a href="#seealso">See Also</a></small></p>
 
17
 
 
18
<p>The New Watch dialog box enables you to specify variables or expressions to watch continuously when debugging an application. You open this dialog box either by choosing Run &gt; New Watch or by right-clicking a variable in the Source Editor and choosing New Watch. 
 
19
When you open the dialog box from the Source Editor, the Watch Expression field contains the name of the variable that the insertion point is on. </p>
 
20
<p>When you specify an expression to watch, follow the syntax rules of the debugger that you are using, which by default is the JPDA (Java Platform Debugger Architecture) debugger.</p>
 
21
<p>When you create a watch, the value of the variable or expression is immediately evaluated and displayed in the <a href="watches_view.html">Watches window</a>. The value is based on the current context. When you change the current context, the Watches window is updated to show the value of the watch for that context. </p>
 
22
<p>In some cases, the debugger assigns a pound sign (#) and a number as the value of the watch. This number is a unique identifier of the given instance. You can use this identifier to determine if a variable points to the same or to a different instance.</p>
 
23
 
 
24
<dl>
 
25
        <dt><a name="seealso">See Also</a></dt>
 
26
        <dd><a href="../debug_context.html">Current Context in the Debugger</a></dd>
 
27
        <dd><a href="../debug_variables.html">Variables and Expressions in the IDE</a></dd>
 
28
</dl>
 
29
<hr>
 
30
<small><a href="../../credits.html">Legal Notices</a></small>
 
31
<table cellpadding="50" border="0">
 
32
<tr>
 
33
<td>&nbsp;</td>
 
34
</tr>
 
35
</table>
 
36
</body>
 
37
</html>