| Summary: | org.eclipse.cdt.debug.ui.breakpointContribution extension point does not support custom FieldEditor to edit Attributes | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | jerome guiban <jerome.guiban> |
| Component: | cdt-debug-cdi | Assignee: | cdt-debug-inbox <cdt-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Doug Schaefer <cdtdoug> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, marc.khouzam, pawel.1.piech |
| Version: | Next | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
The overarching issue is support for event breakpoints in properties dialog. *** This bug has been marked as a duplicate of bug 376236 *** |
Build Identifier: M20120208-0800 when using "org.eclipse.cdt.debug.ui.breakpointContribution" extension point to add a new Event Point, it is not possible to use a custom FieldEditor to edit Attribute value. Only already defined FieldEditor can be used (BooleanFieldEditor, StringFieldEditor, ...), else an exeption is reported at runtime. The exception is due to ho the FieldEditor is loaded by org.eclipse.cdt.debug.ui.breakpoints.DefaultCBreakpointUIContribution.getFieldEditor() method: Class cclass = Class.forName(className); Reproducible: Always Steps to Reproduce: Here is an example that generates an exception: <extension point="org.eclipse.cdt.debug.ui.breakpointContribution"> <breakpointLabels markerType="org.eclipse.cdt.debug.core.cEventBreakpointMarker"> <attribute name="org.eclipse.cdt.debug.core.eventbreakpoint_event_id" label="%catchType.label" type="string"> <value label="Context Creation (Simics)" value="context creation"> <attribute name="org.eclipse.tcf.debug.ContextQuery" label="contextQuery" type="string" fieldEditor="com.windriver.tcf.simicsbreakpoint.ui.ContextQueryFieldEditor""/> ....