> Thank you all for your answers! Debugging works more or less, 
> although I can't track the values of all variables; does this 
> perhaps depend on whether a variable is static or not?

The visibility of variables does depend on their scope. Which is natural
if you think about it.
In particular, stack-automatic variables will go out of scope as soon as
you leave the function they are declared in, so the debugger will not be
able to track their value since they no longer exist...

Now, if you are depending on stack variables retaining their value, or
widgets created on the stack persisting after the function returns, then
that *will* cause problems, but that's probably obvious.


> Anyhow, it seems that my problem is that I have too many 
> widgets for the box. Does anybody know what the limit for the 
> number of children is? Or where I can look it up, perhaps 
> even change it?

How many widgets do you have?
There's no limit as such, the storage for child widgets grows
dynamically, so until you run out of memory...



SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to