1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE html
|
---|
3 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
4 | <html xml:lang="en-us" lang="en-us">
|
---|
5 | <head>
|
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
---|
7 | <meta name="copyright" content="(C) Copyright 2005"/>
|
---|
8 | <meta name="DC.rights.owner" content="(C) Copyright 2005"/>
|
---|
9 | <meta name="DC.Type" content="task"/>
|
---|
10 | <meta name="DC.Title" content="Enabling debug mode"/>
|
---|
11 | <meta name="abstract" content="When the debug mode is enabled, additional diagnostic information is written to the log file. This information, which includes environment variables and stack trace data, can help you determine the root cause of a problem."/>
|
---|
12 | <meta name="description" content="When the debug mode is enabled, additional diagnostic information is written to the log file. This information, which includes environment variables and stack trace data, can help you determine the root cause of a problem."/>
|
---|
13 | <meta name="DC.Relation" scheme="URI" content="../readme/troubleshooting-overview.html"/>
|
---|
14 | <meta name="DC.Format" content="XHTML"/>
|
---|
15 | <meta name="DC.Identifier" content="t-enabling-debug-mode"/>
|
---|
16 | <link rel="stylesheet" type="text/css" href="../commonltr.css"/>
|
---|
17 | <link rel="stylesheet" type="text/css" href="../dita-ot-doc.css"/>
|
---|
18 | <title>Enabling debug mode</title>
|
---|
19 | </head>
|
---|
20 | <body id="t-enabling-debug-mode">
|
---|
21 |
|
---|
22 |
|
---|
23 | <h1 class="title topictitle1">Enabling debug mode</h1>
|
---|
24 |
|
---|
25 |
|
---|
26 | <div class="body taskbody"><p class="shortdesc">When the debug mode is enabled, additional diagnostic information is written to the log file.
|
---|
27 | This information, which includes environment variables and stack trace data, can help you
|
---|
28 | determine the root cause of a problem.</p>
|
---|
29 |
|
---|
30 | <div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><div class="li step p">
|
---|
31 | <span class="ph cmd">From the command prompt, add the following parameters:</span>
|
---|
32 |
|
---|
33 | <table border="1" frame="hsides" rules="rows" cellpadding="4" cellspacing="0" summary="" class="simpletable choicetable choicetableborder">
|
---|
34 | <thead><tr class="sthead chhead"><th valign="bottom" align="left" id="d32791e22-option">Application</th>
|
---|
35 | <th valign="bottom" align="left" id="d32791e22-desc">Parameters</th></tr></thead>
|
---|
36 | <tbody>
|
---|
37 |
|
---|
38 | <tr class="strow chrow">
|
---|
39 | <td valign="top" headers="d32791e22-option" id="d32791e35" class="stentry choption"><strong>Ant</strong></td>
|
---|
40 |
|
---|
41 | <td valign="top" headers="d32791e22-desc d32791e35" class="stentry chdesc"><samp class="ph codeph">-v -Dargs.debug=yes</samp></td>
|
---|
42 |
|
---|
43 | </tr>
|
---|
44 |
|
---|
45 | <tr class="strow chrow">
|
---|
46 | <td valign="top" headers="d32791e22-option" id="d32791e45" class="stentry choption"><strong>Command-line tool</strong></td>
|
---|
47 |
|
---|
48 | <td valign="top" headers="d32791e22-desc d32791e45" class="stentry chdesc"><samp class="ph codeph">/d</samp> or <samp class="ph codeph">-debug</samp></td>
|
---|
49 |
|
---|
50 | </tr>
|
---|
51 |
|
---|
52 | </tbody></table>
|
---|
53 |
|
---|
54 | <div class="itemgroup info"><div class="p">You also can add a <property> element to an Ant target in your build file,
|
---|
55 | for
|
---|
56 | example:<pre class="pre codeblock"><property name="args.debug" value="yes"/></pre>
|
---|
57 | </div>
|
---|
58 | </div>
|
---|
59 | </div>
|
---|
60 |
|
---|
61 | </div>
|
---|
62 |
|
---|
63 | <div class="related-links">
|
---|
64 | <div class="familylinks">
|
---|
65 | <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../readme/troubleshooting-overview.html" title="This section contains information about problems that you might encounter and how to resolve them.">Error messages and troubleshooting</a></div>
|
---|
66 | </div>
|
---|
67 | </div>
|
---|
68 |
|
---|
69 | </body>
|
---|
70 | </html>
|
---|