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

Bug 369871

Summary: No debug output when using JAXB RM
Product: [Tools] PTP Reporter: Greg Watson <g.watson>
Component: Debug UIAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cmnavarr
Version: 5.0.4   
Target Milestone: 6.0   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Patch to listen for debug events
none
patch to listen for debug events g.watson: iplog-

Description Greg Watson CLA 2012-01-26 16:37:57 EST
Launch debugger using JAXB RM. Run program under debugger, but no output is seen from printf statements in the code.
Comment 1 Chris Navarro CLA 2012-03-09 15:01:45 EST
Created attachment 212407 [details]
Patch to listen for debug events

I've created a patch to fix the lack of console output when using a JAXB RM in debug mode. The problem was the CommandJobStreamMonitor wasn't listening for IJobChildListener events. I added both a setJob method on the monitor and updated the constructor to take a IPJob as an argument (required for the events).
Comment 2 Greg Watson CLA 2012-05-25 13:31:16 EDT
Chris, I don't think this got into 5.0 did it? Would you be able to update the patch for 6.0? Thanks!
Comment 3 Chris Navarro CLA 2012-05-30 12:36:01 EDT
I just saw your comment (for some reason I'm not cc'd on this bug), I'll update the patch ASAP.
Comment 4 Chris Navarro CLA 2012-05-30 15:29:36 EDT
Created attachment 216521 [details]
patch to listen for debug events

This should replace the previous patch. I had to make some edits to the patch git created because it was adding in a lot of cruft about some deleted plugins (might be related to the resource manager overhaul) and I couldn't figure out a way to specify which files to diff. If this doesn't work properly, I'll create a new clean workspace and new patch.
Comment 5 Greg Watson CLA 2012-05-31 10:28:15 EDT
I've committed a slightly modified version of the patch that keeps all the deprecated interfaces in once place (now that I've marked the interfaces as deprecated in core). Please check that it still works for you. Thanks!
Comment 6 Chris Navarro CLA 2012-05-31 14:06:36 EDT
I checked out your change and it works for me.
Comment 7 Greg Watson CLA 2012-05-31 14:19:09 EDT
Closing as fixed. Thanks!