Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 375175 - Minor improvements for E4 DI debugging
Summary: Minor improvements for E4 DI debugging
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 4.2 M7   Edit
Assignee: Oleg Besedin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 08:45 EDT by Brian de Alwis CLA
Modified: 2012-03-23 10:41 EDT (History)
0 users

See Also:


Attachments
Patch to improve debugging of E4 DI (1.29 KB, text/plain)
2012-03-23 08:45 EDT, Brian de Alwis CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian de Alwis CLA 2012-03-23 08:45:19 EDT
Created attachment 213101 [details]
Patch to improve debugging of E4 DI

The attached patch has two tweaks to improve debugging of DI:

1. Adds the .options file to the build.properties, making the tracing options available from the tracing tab of launch configurations.

2. Log the reasons for unresolved method argument injection as the InjectionException is often times swallowed.
Comment 1 Oleg Besedin CLA 2012-03-23 10:41:03 EDT
Thanks Brian! 

Patch released, Git reference:

http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=91d8e7e5f8d3f7813ad0ae420a54b14b2f4c7b2a