Re: Exceptions in Dialog??
niki <[email protected]> Thu, 28 Sep 2023 09:55:06 +0300
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
On 28.09.23 =D0=B3. 4:33 =D1=87., 'Chris Barker' via wxPython-users wrote:
> Hey all,
>=20
> I'm trying to update a old App ,written quite some years ago (py2.7, and=
=20
> whih knows how old a wxPython).
>=20
> I got it to run, but now whenever it hits an Exception (presumably in an=
=20
> event handler) -- I get a dialog with the=C2=A0error -- but it doesn' pri=
nt=20
> to the console, and it doesn't provide a traceback, so it's really hard=
=20
> to debug!
>=20
> Is this a new(ish) feature -- and if so, how can I turn it off? -- I=20
> really need to see the tracebacks.
You can experiment with
app.SetAssertMode(
#~ wx.PYAPP_ASSERT_DIALOG
wx.PYAPP_ASSERT_EXCEPTION
)
HTH
Niki
--=20
You received this message because you are subscribed to the Google Groups "=
wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
wxpython-users/da826aa8-e171-06b8-6d6e-9a04b6898807%40vintech.bg.