Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2012-01-26 16:59:27 +0000
committerMikhail Khodjaiants2012-01-26 16:59:27 +0000
commit15ab0165f1bfae5ff780536d134902ff7592ff8e (patch)
treed70e19d0d8c83c0933f61f6501531df046bd9632 /dsf/org.eclipse.cdt.dsf
parentee0eb1bb4811d40bb9380f743421122d9cafa635 (diff)
downloadorg.eclipse.cdt-15ab0165f1bfae5ff780536d134902ff7592ff8e.tar.gz
org.eclipse.cdt-15ab0165f1bfae5ff780536d134902ff7592ff8e.tar.xz
org.eclipse.cdt-15ab0165f1bfae5ff780536d134902ff7592ff8e.zip
Bug 365541 - View an array variable whose length is very long (such as
10000) in the editor or Variable View, will cause the interface to die.
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IExpressions.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IExpressions.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IExpressions.java
index ba32cdcdd4d..fac33c4a85c 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IExpressions.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IExpressions.java
@@ -44,6 +44,30 @@ public interface IExpressions extends IFormattedValues {
}
/**
+ * To avoid SWT performance issues large arrays are divided into partitions.
+ * This interface represents the context of such a partition.
+ *
+ * @since 2.3
+ */
+ public interface IIndexedPartitionDMContext extends IExpressionDMContext {
+
+ /**
+ * Returns the expression string of the parent array.
+ */
+ public String getParentExpression();
+
+ /**
+ * Returns the index of the partition's first element in the parent array.
+ */
+ public int getIndex();
+
+ /**
+ * Returns the number of array's elements in the partition.
+ */
+ public int getLength();
+ }
+
+ /**
* The address and size of an expression.
*/
public interface IExpressionDMAddress {

Back to the top