diff --git a/pykd/dbgext.cpp b/pykd/dbgext.cpp index 9c8851a..ad7cfce 100644 --- a/pykd/dbgext.cpp +++ b/pykd/dbgext.cpp @@ -628,7 +628,7 @@ BOOST_PYTHON_MODULE( pykd ) // wrapper for standart python exceptions python::register_exception_translator( &PyException::exceptionTranslate ); -#define _DECL_BASE_EXCEPT_STR .def( "__str__", &pykd::DbgException::print ) +#define _DECL_BASE_EXCEPT_STR .def( "__repr__", &pykd::DbgException::print ) // base exception python::class_ dbgExceptionClass( "BaseException",