wx swallows exceptions

I find that when an assertion fails or another exception is raised in
the wx backend, python just exits silently without printing the
traceback or the exception that occurred. This makes it difficult to
work with the wx backend.

Is there a setting so that I can get the traceback, or another
preferred method?

John Hunter