Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

C:B build using wx261_debug_dll

(1/2) > >>

tiwag:
After some problems which occured with the VisualC-port of C::B yesterday, i became suspicious, if these problems were only VC-related or "home-brewed" in the code and (if so) they must also appear in the gcc-build of C::B if using the wx-debug-dll.

Therefore i did a C::B build using the wxWidgets-2.6.1 debug-dll - and there are similar (but not exactly the same)
wxWidgets Debug Alerts, some of them posted here with their (frequency):

* Thaw() without matching Freeze()          (*** very often)
* wxYield called recursively                       (**   often)
* EM_STREAMIN didn't send EN_UPDATE   (*     rare)
* wxMenu::Check: no such item                (oo   never ending chain, triggered continously)
has anybody already looked at this phenomena ?
i think, we should use the wxWidgets-Debug-build in order to find and lastly correct more flaws in the code, isn't it ?
any thoughts about ?

mandrav:
That's what's keeping RC2 from being released. I want to build codeblocks with debug wx to fix those (hoping to find the time this weekend)...

rickg22:
The thaw could be solved by making a derivative of the object in question, and add a "freezecounter". If it's 0, don't do nothing.

Perhaps you could make a Freezer class, which has the counter. The class will have only ONE object, the wxwindow in question that you want to freeze / thaw. (Or something).

The recursive wxyield is one i've been ranting for ages. Setting the "extra stability" in environment options solves it.

The EM_STREAMIN O.o I don't know about.

tiwag:
i have done a patch which addresses the

* Thaw() without matching Freeze()
* wxYield called recursivelytopics.

but i've read in this thread
http://forums.codeblocks.org/index.php/topic,854.msg5932.html#msg5932
that Yiannis is suspicious against.

Yiannis you maybe want to have a look about this patch doesn't mess something,
therefore i post it here instead of committing to cvs.

regards
tiwag

[attachment deleted by admin]

mandrav:
Have you tested it with wx2.4 and wx2.6?

Navigation

[0] Message Index

[#] Next page

Go to full version