List:MySQL and Java« Previous MessageNext Message »
From:Mark Matthews Date:May 31 2003 2:40pm
Subject:Re: Debugging Connector/J
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Helmut Leininger wrote:
> Hi,
>
> How can I debug / trace Connector/J 3.1? Setting TRACE and DEBUG in
> com.mysql.jdbc.Driver and recompile it does not seem a good way for me.
>

I just use a debugger, like the one that comes with Eclipse. Logging and
tracing is in there from a long time ago and is not used that often by
anyone. It's not ever going to give you enough information to debug
anything that is more than a trivial problem.

Do you have a testcase for what you're trying to debug (the empty result
set with prepared statements)? If so, I can take a look at it.

	-Mark


- --
For technical support contracts, visit https://order.mysql.com/?ref=mmma

    __  ___     ___ ____  __
   /  |/  /_ __/ __/ __ \/ /  Mark Matthews <mark@stripped>
  / /|_/ / // /\ \/ /_/ / /__ MySQL AB, SW Dev. Manager - J2EE/Windows
 /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
        <___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+2KLVtvXNTca6JD8RAvfdAKCfjCkVbrOUyCYzWgX6dqDzRNHanQCeINGW
sfNd3DIAIaMvQTiNSkslezo=
=LT+n
-----END PGP SIGNATURE-----

Thread
Debugging Connector/JHelmut Leininger31 May
  • Re: Debugging Connector/JMark Matthews31 May