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


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.

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


Back to the top