Community
Participate
Working Groups
This happens for the first launch only when the TCFBreakpointStatusListener is not instantiated yet, because upon instantiation it does not add a launch listener for already connected launches and runs into this NPE on disconnect. java.lang.NullPointerException at org.eclipse.tm.internal.tcf.cdt.ui.TCFBreakpointStatusListener$1.onDisconnected(TCFBreakpointStatusListener.java:131) at org.eclipse.tm.internal.tcf.debug.ui.model.TCFModelManager$1.onDisconnected(TCFModelManager.java:66) at org.eclipse.tm.internal.tcf.debug.model.TCFLaunch.onDisconnected(TCFLaunch.java:279) at org.eclipse.tm.internal.tcf.debug.model.TCFLaunch.access$33(TCFLaunch.java:271) at org.eclipse.tm.internal.tcf.debug.model.TCFLaunch$30.onChannelClosed(TCFLaunch.java:979) at org.eclipse.tm.tcf.core.AbstractChannel$9.run(AbstractChannel.java:680) at org.eclipse.tm.tcf.EventQueue.run(EventQueue.java:99) at java.lang.Thread.run(Thread.java:619)
Created attachment 189074 [details] Proposed patch This adds a launch listener for already connected launch(es).
Committed the patch. Thanks!