-
Notifications
You must be signed in to change notification settings - Fork 66
/
ref-toggle_watchpoint.htm
37 lines (37 loc) · 2.96 KB
/
ref-toggle_watchpoint.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2007, 2017. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../../../book.css" charset="ISO-8859-1" type="text/css">
<title>Toggle Watchpoint</title>
</head>
<body>
<h1> Toggle Watchpoint </h1>
<p> Select the <strong>Toggle Watchpoint </strong>command [ <img src="../../../images/org.eclipse.debug.ui/obj16/readwrite_obj.svg" alt="Toggle Watchpoint"> ] to create a new watchpoint on the selected field in either the editor or the <a href="../../../reference/views/ref-view-outline.htm"><strong>Outline View</strong></a>.</p>
<p>Note that you cannot set a watchpoint on a <code>final</code> or a <code>static final</code> constant field; if you try to do so you will get a line breakpoint instead. This cannot be implemented for final variables with compile-time constant values
because Java compiles the constant value into class files and leaves no
trace of a field access at points where the final field is read. </p>
<h3 class="related">Related concepts</h3>
<a href="../../../concepts/cdebugger.htm">Debugger</a><br>
<a href="../../../concepts/clocdbug.htm">Local Debugging</a><br>
<a href="../../../concepts/cremdbug.htm">Remote Debugging</a>
<h3 class="related">Related tasks</h3>
<a href="../../../tasks/task-evaluating_expressions.htm">Evaluating expressions</a><br>
<a href="../../../tasks/task-running_and_debugging.htm">Running and Debugging</a><br>
<a href="../../../tasks/task-remotejava_launch_config.htm">Connecting to a remote VM with the Remote Java application launch configuration</a><br>
<a href="../../../tasks/task-add_line_breakpoints.htm">Line breakpoints</a><br>
<a href="../../../tasks/task-set_method_breakpoints.htm">Setting method breakpoints</a><br>
<a href="../../../tasks/task-catching_exceptions.htm">Catching exceptions</a>
<h3 class="related">Related references</h3>
<a href="../../../concepts/concept-java-editor.htm">Java Editor</a><br>
<a href="../../../reference/menus/run/ref-menu-run.htm">Run Menu</a><br>
<a href="../../../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints View</a><br>
<a href="../../../reference/views/breakpoints/ref-addexception_viewaction.htm">Add Java Exception Breakpoint</a><br>
<a href="../../../reference/menus/run/ref-add_class_load_breakpoint.htm">Add Class Load Breakpoint</a> <br>
<a href="../../../reference/menus/run/ref-toggle_breakpoint.htm">Toggle Breakpoint</a> <br>
<a href="../../../reference/menus/run/ref-toggle_line_breakpoint.htm">Toggle Line Breakpoint</a><br>
<a href="../../../reference/menus/run/ref-toggle_method_breakpoint.htm">Toggle Method Breakpoint</a>
</body>
</html>