How to keep vars

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Thu Jun 11 18:36:16 BST 2009


On Thu, Jun 11, 2009 at 02:04:25PM +0200, Andreas Pakulat wrote:
> On 11.06.09 12:46:30, Leon Pollak wrote:
> > Hello, all.
> > 
> > I am on FC10 with the with the kdevelop 3.5.4.
> > 
> > When I am in the debugger and open some structure in the variable window by 
> > clicking on its '+' sign, the structure content is displayed.
> > 
> > Now, imagine that I set a breakpoint and want to see the structure content 
> > each time the BP is hit - very annoying: each time the BP is hit, the 
> > structure is closed and I need to reopen it with the '+' click.
> > 
> > Can somebody advice how to avoid this?
> 
> You can't currently. I'm not if its even possible with current gdb as gdb
> needs to tell us stable variable names such that the GUI can remember the
> open/close state of its tree. 

It is surely possible with any debugger as long as the GUI remembers
what is open and re-create it as needed. That gdb's MI variables are not
exactly as helpful for that purpose as they could is another story. Not
relying on that (mis-)feature does - IMNSHO - rather improve the ability
of the GUI to target other debuggers...
 
Andre'




More information about the KDevelop mailing list