mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
CDT Debug prefers things to be in ascending number
This commit is contained in:
parent
1e03df8839
commit
662e440276
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-01-29 Alain Magloire
|
||||||
|
|
||||||
|
The CDT debug ui prefers things to be in ascending
|
||||||
|
number
|
||||||
|
|
||||||
|
* src/org/eclipse/cdt/debug/mi/core/output/MIInfoThreadsInfo.java
|
||||||
|
|
||||||
2004-01-28 Alain Magloire
|
2004-01-28 Alain Magloire
|
||||||
|
|
||||||
Some clients using MI need to have access to thoes
|
Some clients using MI need to have access to thoes
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
package org.eclipse.cdt.debug.mi.core.output;
|
package org.eclipse.cdt.debug.mi.core.output;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -50,6 +51,7 @@ public class MIInfoThreadsInfo extends MIInfo {
|
||||||
for (int i = 0; i < aList.size(); i++) {
|
for (int i = 0; i < aList.size(); i++) {
|
||||||
threadIds[i] = ((Integer) aList.get(i)).intValue();
|
threadIds[i] = ((Integer) aList.get(i)).intValue();
|
||||||
}
|
}
|
||||||
|
Arrays.sort(threadIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void parseThreadInfo(String str, List aList) {
|
protected void parseThreadInfo(String str, List aList) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue