diff options
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/tutorial.html | 3 | ||||
-rw-r--r-- | tutorial/tutorial3.html | 21 |
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> |