Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314637

Summary: Register manager exception during tear-down
Product: [Tools] CDT Reporter: James Blackburn <jamesblackburn+eclipse>
Component: cdt-debug-cdi-gdbAssignee: James Blackburn <jamesblackburn+eclipse>
Status: RESOLVED FIXED QA Contact: Elena Laskavaia <elaskavaia.cdt>
Severity: normal    
Priority: P3 CC: pawel.1.piech
Version: 7.0   
Target Milestone: 7.0.1   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
trivial patch jamesblackburn+eclipse: iplog-

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