Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322838

Summary: [tcf] debugging enhancement - in LocatorService.java, wrap DatagramPacket to customize toString()
Product: [Tools] TCF Reporter: Kirk Beitz <kirk.beitz>
Component: CoreAssignee: Project Inbox <dsdp.tm.tcf-inbox>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: enhancement    
Priority: P3 CC: cdtdoug, eugene
Version: unspecified   
Target Milestone: 0.4.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
in LocatorService.java, wrap DatagramPacket to customize toString() eugene: iplog+, kirk.beitz: review?

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