blob: 4ce8ad5ca5178413f497446b9010f4f070bc2b2a [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>Local Debugging</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>Local Debugging</h1>
<p>The Java debugger has a client/server design so that it can be used to
debug programs that run locally (on the same workstation as the debugger) or
remotely (on another computer on the network).</p>
<p>Local debugging is the simplest and most common kind of debugging.&nbsp;
After you have finished editing and building your Java program, you can
launch the program on your workstation using the
<a class="command-link" href='javascript:executeCommand("org.eclipse.debug.ui.commands.OpenDebugConfigurations")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Goto the launch configuration dialog">
<strong>Run &gt; Debug...</strong></a> menu item
on the workbench.&nbsp; Launching the program in this way will establish a
connection between the debugger client and the Java program that you are
launching.&nbsp; You may then use breakpoints, stepping, or expression
evaluation to debug your program.</p>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ></p>
<p>
<a href="cbrkpnts.htm">Breakpoints</a></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><br>
<a href="../reference/menus/run/ref-menu-run.htm">Run menu actions</a><br>
<a href="../reference/ref-toolbar-run.htm">Run and Debug toolbar actions</a>
</p>
<p>&nbsp;</p>
</body>
</html>