wxHTML callbacks - unprotected?
Rob Gayvert
rtg at rochester.rr.com
Fri Oct 14 11:14:30 UTC 2005
Cees De Groot wrote:
>Hi,
>
>I'm using custom scheme names ('command:') in wxHTML and the callback
>stuff to handle them. Works like a charm, however if I try debugging
>or something similar, the VM crashes.
>
>Could it be that some protection code is lacking here?
>
>Regards,
>
>Cees
>
>
Possibly, since I haven't done much with wxHTML callbacks. But if it
only crashes when you
try to debug, I suspect it's just the fragility of generic callbacks. If
you try to do too much in a
generic callback handler (e.g., something that generates another
callback), it's likely to crash.
I'm working on replacing the setjmp/longjmp mechanism with a more robust
ucontext scheme,
so the next release should be more stable in this respect.
.. Rob
More information about the Wxsqueak
mailing list