Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<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">
      Setting Method Breakpoints
      Setting Method Breakpoints
      Method breakpoints are used when working with types that have no source
    code (binary types).
        Open the class in the <strong>Outline View</strong>, and select the method where you want to add a method breakpoint.      </li>
      <li> From the method's pop-up menu, select <strong>Toggle Method Breakpoint</strong>. 
        A breakpoint appears in the <a href="../reference/views/breakpoints/ref-breakpoints_view.htm"><strong>Breakpoints View</strong></a>. If source exists for the class, then a breakpoint also appears in the marker bar in the file's editor for the method that
        was selected.      </li>
        While the breakpoint is enabled, thread execution suspends when the method is entered, before any line in the method is executed.&nbsp;
    <p>Method breakpoints can also be setup to break on method exit.&nbsp; In the Breakpoints view, select the breakpoint and toggle the
    <strong><a href="../reference/views/breakpoints/ref-exit_contextaction.htm">Exit</a></strong>&nbsp; item in its context menu.</p>
    <p>Method breakpoints can be <a href="../reference/views/breakpoints/ref-remove_viewaction.htm">removed</a>, <a href="../reference/views/breakpoints/ref-enable_contextaction.htm">enabled</a>, and <a href="../reference/views/breakpoints/ref-disable_contextaction.htm">disabled</a> just like line
      <img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
      <a href="../concepts/cbrkpnts.htm">Breakpoints</a>
      <img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
      <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-enable_disable_breakpoints.htm">Enabling and disabling breakpoints</a><br>
       <a href="task-apply_hit_count.htm">Applying hit counts</a><br>
       <a href="task-catching_exceptions.htm">Catching Java exceptions</a><br>
      <img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
      <a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints view</a><br>
       <a href="../reference/views/ref-view-outline.htm">Java outline</a>

New to GrepCode? Check out our FAQ X