Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] Variables in the debugger that are shown as IndexedVariablePartition [0..99], [100..199] are after that filtered..

Hi,

i am trying to fix something but i cant immediately see how to fix it

what i have is a variable in the debugger that has 350 children, that count is given to VariableContentProvider.
protected Object[] getValueChildren(IDebugElement parent, IValue value, IPresentationContext context) throws CoreException

so that methods makes 4 IndexedVariablePartition

But when i open those in the ui. I dont see 99 items in each of them no, sometimes only 5 or 6
this is because of the filters that seems to be applied after the creation of the 4 IndexedVariablePartition ..

I dont know how Java does this, havent looked into that yet, but at what point should the filter be applied?
The filter should run before or inside the getValueChildren() method but i dont see any hook.

And ScriptValue cant call the filter because those classes dont know anything about VariableContentProvider/ModelContentProvider

So how is this supposed to work correctly?

johan


Back to the top