Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369871 - No debug output when using JAXB RM
Summary: No debug output when using JAXB RM
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Debug UI (show other bugs)
Version: 5.0.4   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 6.0   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 16:37 EST by Greg Watson CLA
Modified: 2012-05-31 14:19 EDT (History)
1 user (show)

See Also:


Attachments
Patch to listen for debug events (10.31 KB, patch)
2012-03-09 15:01 EST, Chris Navarro CLA
no flags Details | Diff
patch to listen for debug events (9.77 KB, patch)
2012-05-30 15:29 EDT, Chris Navarro CLA
g.watson: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!