mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
In SignalManager.update().
Move the creation of the signallist after doing info signals.
This commit is contained in:
parent
09a1c8f4d9
commit
d31a0a3a62
1 changed files with 3 additions and 3 deletions
|
@ -178,12 +178,12 @@ public class SignalManager extends SessionObject implements ICDISignalManager {
|
||||||
* @see org.eclipse.cdt.debug.core.cdi.ICDISignalManager#update()
|
* @see org.eclipse.cdt.debug.core.cdi.ICDISignalManager#update()
|
||||||
*/
|
*/
|
||||||
public void update() throws CDIException {
|
public void update() throws CDIException {
|
||||||
if (signalsList == null) {
|
|
||||||
signalsList = Collections.synchronizedList(new ArrayList(5));
|
|
||||||
}
|
|
||||||
Session session = (Session)getSession();
|
Session session = (Session)getSession();
|
||||||
MISigHandle[] miSigs = getMISignals();
|
MISigHandle[] miSigs = getMISignals();
|
||||||
List eventList = new ArrayList(miSigs.length);
|
List eventList = new ArrayList(miSigs.length);
|
||||||
|
if (signalsList == null) {
|
||||||
|
signalsList = Collections.synchronizedList(new ArrayList(5));
|
||||||
|
}
|
||||||
for (int i = 0; i < miSigs.length; i++) {
|
for (int i = 0; i < miSigs.length; i++) {
|
||||||
ICDISignal sig = findSignal(miSigs[i].getName());
|
ICDISignal sig = findSignal(miSigs[i].getName());
|
||||||
if (sig != null) {
|
if (sig != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue