This message deceived me into thinking win32trace was preventing me from seeing uncaught exceptions in the regular console (of my IDE). The real issue was that wxPython by default redirects stdout/stderr to a popup window that quickly disappeared after an uncaught exception. To solve that problem, I simply had to pass
redirect=0to the superclass constructor of my application.
class MyApp(wx.App):
def __init__(self):
# Prevent wxPython from redirecting stdout/stderr:
super(MyApp, self).__init__(redirect=0)
That fix notwithstanding, I am still curious about how to control win32trace.
joeforker
2008-11-20 21:34:17