blob: 7607e1684f9c324530192a494cb7825a7e808bc6 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. 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>Breakpoints</title>
</head>
<body>
<h1>Breakpoints</h1>
<p>A breakpoint suspends the execution of a program at the location where the breakpoint is set.</p>
<p>Breakpoints can be enabled and disabled via the context menu in the <strong><a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints View</a></strong>, or via the context menu in the <strong><a href="../concepts/concepts-7.htm">Java Editor</a></strong> ruler.</p>
<ul>
<li>An enabled breakpoint causes a thread to suspend whenever
the breakpoint is encountered. Enabled breakpoints are drawn with a blue circle [ <img src="../images/org.eclipse.debug.ui/obj16/brkp_obj.png" alt="Breakpoint"> ] and
have a checkmark overlay once successfully installed. A breakpoint can only
be installed when the class the breakpoint is located in has been loaded by the VM.</li>
<li>A disabled breakpoint will not cause threads to suspend. Disabled breakpoints are drawn with a white circle [ <img src="../images/org.eclipse.debug.ui/obj16/brkpd_obj.png" alt="Disabled Breakpoint"> ].</li>
</ul>
<p>Breakpoints are displayed in the vertical editor ruler and in the Breakpoints view.</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ></p>
<p>
<a href="../tasks/task-add_line_breakpoints.htm">Adding breakpoints</a><br>
<a href="../tasks/task-resuming_threads.htm">Resuming the execution of suspended threads</a><br>
<a href="../tasks/task-running_and_debugging.htm">Running and debugging</a><br>
<a href="../tasks/task-suspending_threads.htm">Suspending threads</a></p>
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ></p>
<p>
<a href="../reference/preferences/run-debug/ref-run_debug.htm">Debug preferences</a><br>
<a href="../reference/views/debug/ref-debug_view.htm">Debug view</a>
<a href="../reference/menus/run/ref-menu-run.htm"><br>Run menu actions</a><br>
<a href="../reference/ref-toolbar-run.htm">Run and debug toolbar actions</a><br>
<a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints view</a><br>
</p>
</body>
</html>