[wx-dev] enhancements to wxStackFrame for Linux

Julian Smart julian at anthemion.co.uk
Wed Nov 1 07:41:02 PST 2006


Vaclav Slavik wrote:
> Hi,
>
> Francesco Montorsi wrote:
>   
>>   2) wxGUIAppTraitsBase::ShowAssertDialog uses wxMessageBox under
>> GTK2; unfortunately even with only 20 lines of stack trace the
>> resulting message box is too tall because all the stack trace lines
>> are wrapped.  2) wxGUIAppTraitsBase::ShowAssertDialog uses 
>>     
> wxMessageBox under GTK2; 
>
> IMHO the best thing to do would be to use a (generic) wxAssertDialog 
> that would use wxCollapsiblePane and the stacktrace would be 
> initially hidden. For me, the most annoying thing about the 
> wxStackFrame performance is that when an assert happens, the app 
> completely freezes and it takes many seconds for something to happen. 
> In the meantime, you're given no indication that it's an assert 
> showing up. And when the assert finally shows, I usually don't need 
> the stack trace to fix it anyway.
>   
I agree, this is terminally annoying and I like the idea of an optional 
stack trace. Failing that, can we please please please please switch off 
stack tracing by default in 2.7.2/2.8.0? It makes asserts almost 
unusable at present.

Regards,

Julian





More information about the wx-dev mailing list