Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] getVariables() called two times

Darin Wright ha scritto:
>
>
> >
> > Maybe the model don't know how many variables there are in stackframe
> > (no caches variables implemented), becouse the nature of language PHP
> > and debugger extension.
> >
> > does It depends on some fired event like suspend?
> >
>
> Yes, the variables view updates when the target suspends. You might
> want to take a look at the debug tutorial from EclipseCon for more
> information.
>
I've it and read more then one time :-)

I've start to implement variables cache, but still have problem with
IStackFrame#getVariables(), it was called two times: the first refresh
cache variables and it's ok, the second recreate cache and loose all
previous info like hasChanged.

all the times IStackFrame#getVariables() was called from
StackFrameContentAdapter#getChildren., the context is always
"org.eclipse.debug.ui.VariableView".

could the problem depends on twice istance of IStackFrames?


regards,
Mauro Casciari






>        
> http://www.eclipse.org/eclipse/debug/documents/ec_2007/Debug_Tutorial_2007.pdf
>
>
> Darin
> ------------------------------------------------------------------------
>
> _______________________________________________
> platform-debug-dev mailing list
> platform-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-debug-dev
>   



Back to the top