Livia Koch wrote:
> is there any general hint where I could start looking for a bug
> in my program if it aborts at fl_throw_focus when calling 
> Fl_Scroll::clear()? 

        Check the pointer (or 'this') for NULL.

        So if you're doing:

                fl_throw_focus(otherwidget);

        ..then check otherwidget for NULL.

        Or, if using 'this', check 'this' for NULL.

        Make sure all pointers are initialized to NULL
        so that you can tell an uninitialized pointer
        from a wild pointer address. (Sometimes wild addresses
        in uninitialized pointers are hard to tell from good addresses)

        If you're getting a crash, and have FLTK in debug mode,
        check the arguments passed to the subroutines in the calling
        hierarchy for NULLs. 'this' should almost never be NULL.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to