Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 199936 Details for
Bug 352493
[tracepoint] Trace control buttons are disabled after a start trace failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix
z.patch (text/plain), 1.61 KB, created by
Marc Khouzam
on 2011-07-19 14:56:32 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Marc Khouzam
Created:
2011-07-19 14:56:32 EDT
Size:
1.61 KB
patch
obsolete
>diff --git src/org/eclipse/cdt/dsf/gdb/service/GDBTraceControl_7_2.java src/org/eclipse/cdt/dsf/gdb/service/GDBTraceControl_7_2.java >index 13f51dd..b90b214 100644 >--- src/org/eclipse/cdt/dsf/gdb/service/GDBTraceControl_7_2.java >+++ src/org/eclipse/cdt/dsf/gdb/service/GDBTraceControl_7_2.java >@@ -20,6 +20,7 @@ > import org.eclipse.cdt.dsf.datamodel.AbstractDMEvent; > import org.eclipse.cdt.dsf.datamodel.DMContexts; > import org.eclipse.cdt.dsf.datamodel.IDMContext; >+import org.eclipse.cdt.dsf.datamodel.IDMEvent; > import org.eclipse.cdt.dsf.debug.service.ICachingService; > import org.eclipse.cdt.dsf.debug.service.IRunControl.IContainerDMContext; > import org.eclipse.cdt.dsf.debug.service.IRunControl.IExecutionDMContext; >@@ -503,6 +504,18 @@ > getSession().dispatchEvent(new TracingStartedEvent(context), getProperties()); > rm.done(); > } >+ @Override >+ protected void handleError() { >+ // Send an event to cause a refresh of the button states >+ IDMEvent<ITraceTargetDMContext> event; >+ if (fIsTracingActive) { >+ event = new TracingStartedEvent(context); >+ } else { >+ event = new TracingStoppedEvent(context); >+ } >+ getSession().dispatchEvent(event, getProperties()); >+ rm.done(); >+ } > }); > } > });
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
marc.khouzam
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 352493
: 199936