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:
>
> Not sure which version of Eclipse you are using. However, it's
> probably called twice - once to see how many variables there are, and
> once to get them. If your model knows how many variables it has
> without retrieving them, then you could optimize this by providing
> your own IElementContentProvider (adapter). If your model caches
> variables, then this should not be a problem.
Eclipse SDK Version: 3.2.2 Build id: M20070212-1330

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?


regards,
Mauro Casciari

ps.
I'm working on old code write on old eclipse SDK ver and old debugger
extension.
>
> Darin Wright
>
>
>
> *"webmaster@xxxxxxxxxx" <uptodate@xxxxxxxxxx>*
> Sent by: platform-debug-dev-bounces@xxxxxxxxxxx
>
> 06/01/2007 08:22 AM
> Please respond to
> "Eclipse Platform Debug component developers list."      
>  <platform-debug-dev@xxxxxxxxxxx>
>
>
> 	
> To
> 	platform-debug-dev@xxxxxxxxxxx
> cc
> 	
> Subject
> 	[platform-debug-dev] getVariables() called two times
>
>
>
> 	
>
>
>
>
>
> Hi to All,
>
> During a debug session on debugger plugin, i've notice that
> IStackFrame#getVariables() was called two times.
>
> there was a reason or something wrong in my code?
>
>
> regards,
> Mauro Casciari
> _______________________________________________
> platform-debug-dev mailing list
> platform-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-debug-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> platform-debug-dev mailing list
> platform-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-debug-dev
>   



Back to the top