1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 01:06:01 +02:00

Little bug that I don't have a fix for, so I put a comment for now, so that we don't forget. I didn't want to write a bug since we already have a bug for the cache about this.

This commit is contained in:
Marc Khouzam 2008-08-02 02:24:47 +00:00
parent c227d7fbf1
commit fef4792098

View file

@ -580,6 +580,12 @@ public class MIProcesses extends AbstractDsfService implements IMIProcesses {
@DsfServiceEventHandler
public void eventDispatched(IResumedDMEvent e) {
fCommandCache.setContextAvailable(e.getDMContext(), false);
// I need to put this so that in non-stop mode, we can send the CLIInfo
// command while some threads are running.
// However, in all-stop, this line breaks a thread exiting, and threads running
// because it allows us to send the thread-list-ids although we don't have a prompt
// We need to find a proper solution for the cache.
// fCommandCache.setContextAvailable(fCommandControl.getControlDMContext(), true);
if (e.getReason() != StateChangeReason.STEP) {
fCommandCache.reset();
}