On Fri, Jun 3, 2011 at 12:18 AM, Ulf Magnusson wrote:
>
> Is there a way to make pyclewn automatically dereference pointer
> values when hovering them? Just getting the address itself often isn't
> very useful.
>


Hello Ulf,

Evaluation in the vim balloon is done on expressions when they are
selected. So it is possible to dereference a pointer in some cases,
for example by selecting "* ptr" in the source code and hovering the
mouse over the selected area. Of course this assumes "* ptr" is
displayed in the current vim window.

The gdb 'whatis' command prints the type of a variable. This should
provide a way to automatically dereference variables on balloon
evaluation. I am going to give it a try.


-- 
Xavier

Les Chemins de Lokoti: http://lokoti.alwaysdata.net

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to