Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314637 - Register manager exception during tear-down
Summary: Register manager exception during tear-down
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-cdi-gdb (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 7.0.1   Edit
Assignee: James Blackburn CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 07:01 EDT by James Blackburn CLA
Modified: 2010-06-24 10:38 EDT (History)
1 user (show)

See Also:


Attachments
trivial patch (840 bytes, patch)
2010-05-27 07:01 EDT, James Blackburn CLA
jamesblackburn+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2010-05-27 07:01:39 EDT
Created attachment 170167 [details]
trivial patch

I get this frequently:

org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: Inferior terminated[]
	at org.eclipse.cdt.debug.mi.core.cdi.RegisterManager.update(RegisterManager.java:424)
	at org.eclipse.cdt.debug.mi.core.cdi.EventManager.processSuspendedEvent(EventManager.java:314)
	at org.eclipse.cdt.debug.mi.core.cdi.EventManager.update(EventManager.java:100)
	at java.util.Observable.notifyObservers(Observable.java:142)
	at org.eclipse.cdt.debug.mi.core.MISession.notifyObservers(MISession.java:791)
	at org.eclipse.cdt.debug.mi.core.EventThread.run(EventThread.java:46)


I realise this is my fault as I enabled logging of CDIException during Event firing.  Trivial patch attached to suppress this exception if the target.isTermianted().
Comment 1 James Blackburn CLA 2010-06-24 09:52:22 EDT
Fixed in 7.0.1