[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] Variables in the debugger that are shownasIndexedVariablePartition [0..99], [100..199] are after that filtered..
|
I tried to do this quickly
But with the new builds a Debugging Engine is required.
I in my own project already have one, But that one is special (and uses Remote debug instead of the normal launch that we previously had)
But if people now download the JS tooling and want to debug they have to choose something from an empty combobox.
So debug is currently disabled by the default download (1.0 integration build)
Shouldn't we add a default debugging engine?
What is by the way the big difference between an Interpreter and the Debugging engine? Isnt that a one one relation?
johan
On Thu, Mar 27, 2008 at 1:47 PM, Johan Compagner <
jcompagner@xxxxxxxxx> wrote:
i will try to set something up
It is not a _javascript_ project that you can just run
Because all the data comes from a remote debugger where it all runs in. Not something dltk starts up
johan
On Thu, Mar 27, 2008 at 12:43 PM, timur <
timur@xxxxxxxxx> wrote:
Hi,
I'm still have no
idea how to reproduce this. Could you please export your project and send it to
me or create a short example with this bug. Please mention where I should place
breakpoint and which variable become filtered.
Thanks,
Tim
From: dltk-dev-bounces@xxxxxxxxxxx
[mailto:dltk-dev-bounces@xxxxxxxxxxx] On
Behalf Of Johan Compagner
Sent: Thursday, March 27, 2008
5:07 PM
To: DLTK Developer Discussions
Subject: Re: [Dltk-dev] Variables
in the debugger that are shownasIndexedVariablePartition [0..99],[100..199] are
after that filtered..
turn of the functions
So that you dont see those
For example what i was looking at was a javabean (JSplitPane)
and those of loads of functions (setMinimumSize() etc)
And if you turn of those that you dont see them (you have to toggle twice maybe
at least in my place the filters are not by default in sync need to look at
that some more)
then of the 350 items you only see max 50 or something divided over 4
partitions
johan
On Thu, Mar 27, 2008 at 11:40 AM, timur <timur@xxxxxxxxx> wrote:
Hi Johan,
Thank you for reporting. I've tried to reproduce
your problem using an array with 350 elements, but all was fine. There were 3
partitions with 100 elements each and one with 50. In addition, I don't
know what kind of filters you mean. May be I misunderstood something. Please
send me your snippet of code and explain in more details what steps you've done
to get this error.
Thanks,
Tim
From: dltk-dev-bounces@xxxxxxxxxxx
[mailto:dltk-dev-bounces@xxxxxxxxxxx]
On Behalf Of Johan Compagner
Sent: Tuesday, March 25, 2008
7:33 PM
To: DLTK Developer list
Subject: [Dltk-dev] Variables in
the debugger that are shown asIndexedVariablePartition [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
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev