Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337436 - Need a way to turn on RDT debugging, since rdt-server.jar keeps getting overwritten
Summary: Need a way to turn on RDT debugging, since rdt-server.jar keeps getting overw...
Status: CLOSED INVALID
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.6   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 08:49 EST by Beth Tibbitts CLA
Modified: 2011-02-17 09:03 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2011-02-17 08:49:11 EST
Using RemoteTools with RDT.
To try to debug, want to turn on debug in rdt-server.jar

(Like this: 
rdt-server.jar is on remote system in ~/.eclipsesettings
unzip rdt-server.jar (e.g. to a subdirectory) , edit rsecomm.properities changing debug_level (default is 0) to:
    debug_level=3
Suggest adding a comment or something too to change size of file so you can assure it's changed from file info.
rezip as e.g. rdt-server-debug.jar and copy to rdt-server.jar to put back in place.
Be sure to do this while the remote connection isn't running. I close eclipse, replace file, re-open.
Log info should be written to ~/.eclipse/RSE/<userid>/rsecomm.log
)

However the client seems to keep rewriting the original rdt-server.jar, or else there is
some other reason i can never see any debug info.

This may be a RemoteTools and not RDT problem. 

When does RemoteTools (re) upload the rdt-server.jar?
Comment 1 Beth Tibbitts CLA 2011-02-17 08:51:35 EST
Actually I just tried this again while writing up this bug and it works.
I now have lots of debug info in the log.

I chose to go ahead and submit the bug so it's documented how to turn on RDT debug when used with remote tools.
I did have alot of problems with 4.0.6 doing this yesterday; was able to do it with 4.0.5 today.
That probably isn't the difference, it's probably user error. :-)

Closing as INVALID since i believe it now works.
But I do still have the question (Greg?) of when the jar gets copied and re-copied.
Comment 2 Greg Watson CLA 2011-02-17 09:03:18 EST
Currently, the jar will be uploaded if its size changes. Feel free to add a preference to disable this for debugging.