diff options
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> |