blob: 69d6e5247ca7ef45535fefed16ad9277145abdd1 [file]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2010. 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>Breakpoint Hit Count</title>
</head>
<body>
<h1> Breakpoint Hit Count</h1>
<p> Select the <strong>Hit Count </strong>option to define a hit count for the selected breakpoint. </p>
<p>The <strong>Hit Count</strong> option is used to determine when your program should suspend on that breakpoint. </p>
<p>If a breakpoint has a hit count of <em>N</em>, execution will suspend when the breakpoint is encountered for the <em>N</em>th time. After being hit, the breakpoint is disabled until either it is re-enabled or its hit count is changed.<br>
<br>
This option can be changed in the <a href="../../reference/views/breakpoints/ref-breakpoints_view.htm#detail_pane"><strong>Breakpoints View</strong></a> detail pane, with the <a href="../../reference/views/breakpoints/ref-properties_contextaction.htm"><strong>Breakpoint Properties...</strong></a>, or by <a href="../../reference/views/breakpoints/ref-hitcount_contextaction.htm">right-clicking</a> a breakpoint.</p>
<p><img src="images/ref-breakpoint_hitcount.PNG" alt="Breakpoint hit count option"></p>
<p>&nbsp;</p>
<h3 class="related">Related concepts</h3>
<a href="../../concepts/cbrkpnts.htm">Breakpoints</a>
<h3 class="related">Related tasks</h3>
<a href="../../tasks/task-add_line_breakpoints.htm">Adding breakpoints</a><br>
<a href="../../tasks/task-remove_line_breakpoints.htm">Removing breakpoints</a><br>
<a href="../../tasks/task-launching_java_program.htm">Launching a Java program</a> <br>
<a href="../../tasks/task-running_and_debugging.htm">Running and debugging</a>
<h3 class="related">Related references</h3>
<a href="../../reference/breakpoints/ref-enabled_option.htm">Enabled Option </a><br>
<a href="../../reference/breakpoints/ref-suspendpolicy_option.htm">Suspend Policy </a>
</body>
</html>