aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-02-15 04:44:56 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-02-15 04:44:56 +0000
commit205b65d96c5fb9d0086eb98d31e21e927d79cf27 (patch)
tree3291bc8e8eebd667212477e7688278af88b6c227 /tutorial
parentcbc67704adef11473329e901ec99f3563be78de4 (diff)
downloadjavassist-205b65d96c5fb9d0086eb98d31e21e927d79cf27.tar.gz
javassist-205b65d96c5fb9d0086eb98d31e21e927d79cf27.zip
fixed JASSIST-155
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@613 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/tutorial.html3
-rw-r--r--tutorial/tutorial3.html21
2 files changed, 22 insertions, 2 deletions
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html
index dea83069..44bfd9eb 100644
--- a/tutorial/tutorial.html
+++ b/tutorial/tutorial.html
@@ -26,6 +26,7 @@ Shigeru Chiba
<br>6. <a href="tutorial3.html#generics">Generics</a>
<br>7. <a href="tutorial3.html#varargs">Varargs</a>
<br>8. <a href="tutorial3.html#j2me">J2ME</a>
+<br>9. <a href="tutorial3.html#debug">Debug</a>
</ul>
<p><br>
@@ -1098,6 +1099,6 @@ For more information, see the API documentation of
<hr>
Java(TM) is a trademark of Sun Microsystems, Inc.<br>
-Copyright (C) 2000-2010 by Shigeru Chiba, All rights reserved.
+Copyright (C) 2000-2012 by Shigeru Chiba, All rights reserved.
</body>
</html>
diff --git a/tutorial/tutorial3.html b/tutorial/tutorial3.html
index dd4fb791..e07372bd 100644
--- a/tutorial/tutorial3.html
+++ b/tutorial/tutorial3.html
@@ -28,6 +28,8 @@
<p><a href="#j2me">8. J2ME</a>
+<p><a href="#debug">9. Debug</a>
+
<p><br>
<a name="intro">
@@ -357,10 +359,27 @@ objects, call the <code>getDeclaredMethods</code> method on a <code>CtClass</cod
<p><br>
+<h2><a name="debug">9. Debug</h2>
+
+<p>Set <code>CtClass.debugDump</code> to a directory name.
+Then all class files modified and generated by Javassist are saved in that
+directory. To stop this, set <code>CtClass.debugDump</code> to null.
+The default value is null.
+
+<p>For example,
+
+<ul><pre>
+CtClass.debugDump = "./dump";
+</pre></ul>
+
+<p>All modified class files are saved in <code>./dump</code>.
+
+<p><br>
+
<a href="tutorial2.html">Previous page</a>
<hr>
Java(TM) is a trademark of Sun Microsystems, Inc.<br>
-Copyright (C) 2000-2010 by Shigeru Chiba, All rights reserved.
+Copyright (C) 2000-2012 by Shigeru Chiba, All rights reserved.
</body>
</html>