Variables view: trimmable item

Vladimir Prus ghost at cs.msu.su
Tue Jun 7 17:01:31 UTC 2005


Hello,
I have a question about internals of the 'TrimmableItem' class,
used a lot in variables view codes.

What is the purpose of the class? It looks that the idea is that when
stepping though the code, some local variables can go out of scope. In that
case, they will be "trimmed".

However, when stepping though the code the "info locals" command is issued at 
each step. So, why don't we simply clean all items, and repopulate the view,
instead of "trimming"?

TIA,
Volodya




More information about the KDevelop-devel mailing list