Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Detecting variable closing

Volodya,

I don't think there is a "legitimate" way to detect when a var-object is
no longer needed by the Variables view. The view asynchronously requests
the information needed to display it's content. It doesn't notify the
backend if a previously requested object is no longer needed.
Try to post this question to the platform-debug-dev@xxxxxxxxxxx mailing
list, maybe they have a solution.

Regards,
Mikhail
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Vladimir Prus
Sent: 22 November 2006 19:28
To: CDT list.
Subject: [cdt-dev] Detecting variable closing


Hello !

Is there an easy way to detect when a variable (for example,
corresponding to a structure) in the variable view is collapsed by the
user?

For a background -- the structure variable might be huge, so reading it
all from target on each -var-update can be slow. I want to detect when
the variable is closed and send a special gdb command that prevents
updating this variable on -var-update -- after all, the children of the
variable are not visible anyway. The variable is not necessary a
top-level one.

Thanks in advance,
Volodya
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




Back to the top