The watch variables use pretty printers now when enabled, to display STL 
containers. This has been fixed at issue #40 by changeset 35d9e13b7bcf.

To use this feature without waiting for the next release, you can build Pyclewn 
from the BitBucket repository as described at 
http://pyclewn.sourceforge.net/install.html in the section named 
"Installing from the development version at BitBucket".  Note that you will be 
building 2.3 and not 2.2, so you need to s/2.2/2.3/ in the description.  Note 
that you will also have to use the 
--ignore-installed option of pip when upgrading later to the latest release, as 
pip will not upgrade when the installed version is the same as the target 
version.

There are some limitations that are listed in the documentation as follows:

                                                     *pyclewn-dynamic-variable*
A dynamic watched variable is displayed using a gdb pretty printer.  When the
variable is a container (for example an STL container), the display uses round
brackets instead of square brackets around the expansion marker "+" or "-".
There are currently some limitations with using dynamic watched variables:

     * Gdb does not update the elements of a nested container when the
       container is dynamic, so it is not very useful to expand a nested
       container.
     * It is not possible to delete an element of a dynamic container,
       one can only delete the whole container (gdb issue 19321).
     * It is not possible to collapse a dynamic container (gdb issue 19321).

--
Xavier

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

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to