| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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> |
| Preparing to debug |
| </title> |
| </head> |
| <body> |
| <h1> |
| Preparing to debug |
| </h1> |
| <p> |
| You can make your programs easier to debug by following these guidelines: |
| </p> |
| <ul> |
| <li> |
| Where possible, do not put multiple statements on a single line, because some debugger features operate on a line basis. For example, you cannot step over or set line |
| breakpoints on more than one statement on the same line. |
| </li> |
| <li> |
| Attach source code to JAR files if you have the source code. |
| </li> |
| </ul> |
| <p> |
| <img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br> |
| <a href="../concepts/concepts-10.htm">Debugger</a><br> |
| <a href="../concepts/cremdbug.htm">Remote debugging</a><br> |
| <a href="../concepts/clocdbug.htm">Local debugging</a> |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| <a href="../tasks/tasks-9.htm">Changing debugger launch options</a><br> |
| <a href="../tasks/tasks-126.htm">Running and debugging</a> |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelr.png" alt="Related reference" ><br> |
| <a href="../reference/preferences/ref-debug.htm">Debug preferences</a><br> |
| <a href="../reference/ref-51.htm">Debug view</a><br> |
| <a href="../reference/ref-4.htm">Run and debug actions</a> |
| </p> |
| |
| </body> |
| </html> |
| |