RE: how to debug my filter

We have been doing debugging a number of different ways:

- run the jigsaw server underneath an IDE like eclipse (a personal
favorite)

- start jigsaw on the server with remote debugging enabled.  In this
case you will need to have an IDE that can do remote debugging. (again
another shameless plug for eclipse here) Rumor has it you can do remote
debugging using the java debug tools, but I have no clue how you would
do that.

To start remote debugging add the following to the command line (I added
this right after the word java).  Also note that the server won't start
until you connect to it, which gives you a chance to watch the start
process.

-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,address=8787

- lastly is the ever popular lots and lots of debug statements to
System.out.  There are some nice trace options in jigsaw to see the full
request and the reply, which we have used in the past.

Hope this helps,

Brian

-----Original Message-----
From: Red K [mailto:redkresearch@yahoo.com.sg] 
Sent: Thursday, November 13, 2003 4:28 AM
To: www-jigsaw@w3.org
Subject: how to debug my filter


Hi,dear all:

I may write filter based on Jigsaw.
Do you have any good ideas that I can debug my filter
in Jigsaw.

Thank you very much!

Best Regards
Red K

__________________________________________________
Do You Yahoo!?
Faster. Easier. Bingo. 
http://sg.search.yahoo.com


************************************************************************
This e-mail and any accompanying documents or files contain information that is the 
property of Perseco, that is intended solely for those to whom this e-mail is addressed 
(i.e., those identified in the "To" and "Cc" boxes), and that is confidential, proprietary, 
and/or privileged.  If you are not an intended recipient of this e-mail, you are hereby 
notified that any viewing, use, disclosure, forwarding, copying, or distribution of any of 
this information is strictly prohibited and may be subject to legal sanctions.  If you have 
received this e-mail in error, please notify the sender immediately of any unintended 
recipients, and delete the e-mail, all attachments, and all copies of both from your system.

While we have taken reasonable precautions to ensure that any attachments to this e-mail 
have been swept for viruses, we cannot accept liability for any damage sustained as a 
result of software viruses.
************************************************************************

Received on Thursday, 13 November 2003 10:19:13 UTC