Hi Wim, that was now really easy to find the wrong code! Thanks for that simple trick.
Stefan On 30.10.2012 12:38, Wim Dumon wrote: > break WContainerWidget.C:185 > > BR, > Wim. > > 2012/10/30 Nagaev Boris<[email protected]>: >> Hello, Wim! >> >> How to put such a breakpoint in gdb? >> >> On Tue, Oct 30, 2012 at 3:20 PM, Wim Dumon<[email protected]> wrote: >>> AFAIK the easiest way to 'debug' this (it's not really an error) is to >>> put a breakpoint in Wt where this warning is generated. >>> >>> BR, >>> Wim. >>> >>> 2012/10/29 Nagaev Boris<[email protected]>: >>>> Hello! >>>> >>>> This warning is produced, when a widget which already has a parent, is >>>> passed to addWidget() method of WContainerWidget. >>>> >>>> Note, that addWidget is called implicitly when WContainerWidget is >>>> passed as "parent" argument to constructor of widget. >>>> >>>> Possible scenario: >>>> WText text = new WText(this); >>>> container->addWidget(text); //<- reparenting >>>> >>>> On Mon, Oct 29, 2012 at 9:10 PM, Stefan Ruppert<[email protected]> wrote: >>>>> Hi, >>>>> >>>>> I have a complex web application which uses many WContainerWidgets. Now >>>>> I try to polish it and found the two "[warning] "WContainerWidget: >>>>> addWidget(): reparenting widget" log messages. But I don't know how to >>>>> match these warnings with my code. >>>>> >>>>> Any idea? >>>>> >>>>> Regards, >>>>> Stefan >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> The Windows 8 Center - In partnership with Sourceforge >>>>> Your idea - your app - 30 days. >>>>> Get started! >>>>> http://windows8center.sourceforge.net/ >>>>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >>>>> _______________________________________________ >>>>> witty-interest mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>>> >>>> ------------------------------------------------------------------------------ >>>> The Windows 8 Center - In partnership with Sourceforge >>>> Your idea - your app - 30 days. >>>> Get started! >>>> http://windows8center.sourceforge.net/ >>>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >>>> _______________________________________________ >>>> witty-interest mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> witty-interest mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > -- Stefan Ruppert <[email protected]> MyARM GmbH, Altkönigstr. 7, 65830 Kriftel, Germany Phone: +49 6192/9772818 Web: http://www.myarm.com ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
