diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-02-15 04:44:56 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-02-15 04:44:56 +0000 |
commit | 205b65d96c5fb9d0086eb98d31e21e927d79cf27 (patch) | |
tree | 3291bc8e8eebd667212477e7688278af88b6c227 /tutorial/tutorial3.html | |
parent | cbc67704adef11473329e901ec99f3563be78de4 (diff) | |
download | javassist-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/tutorial3.html')
-rw-r--r-- | tutorial/tutorial3.html | 21 |
1 files changed, 20 insertions, 1 deletions
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> |