Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322838 - [tcf] debugging enhancement - in LocatorService.java, wrap DatagramPacket to customize toString()
Summary: [tcf] debugging enhancement - in LocatorService.java, wrap DatagramPacket to ...
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.4.0   Edit
Assignee: Project Inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-16 16:26 EDT by Kirk Beitz CLA
Modified: 2013-06-05 07:56 EDT (History)
2 users (show)

See Also:


Attachments
in LocatorService.java, wrap DatagramPacket to customize toString() (4.05 KB, patch)
2010-08-16 16:26 EDT, Kirk Beitz CLA
eugene: iplog+
kirk.beitz: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Beitz CLA 2010-08-16 16:26:21 EDT
Created attachment 176727 [details]
in LocatorService.java, wrap DatagramPacket to customize toString()

when debugging LocatorService, the DatagramPacket being passed through is hard to read in the debugger.

the attached patch enhances LocatorService to wrap the DatagramPacket so toString() can provide information during debugging.

strictly an enhancement to assist in interpreting the packet when debugging.
Comment 1 Eugene Tarassov CLA 2010-08-17 13:25:43 EDT
Looks good. Committed. Thanks!
Comment 2 Doug Schaefer CLA 2011-05-17 10:50:08 EDT
Moving bugs to new home for IP log.
Comment 3 Martin Oberhuber CLA 2013-06-05 06:27:44 EDT
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3