Commit 4de8114c authored by ussrhero's avatar ussrhero
Browse files

added setStatusMessage ( set a message at a windbg status bar )

parent a3da177d
Subproject commit c79f0797228b1436c41b700f4564eb986388bb35
Subproject commit deda36a086494be526a5d62bf1b104cb780d7a07
......@@ -49,6 +49,12 @@ inline void dinput(const std::wstring &str)
kdlib::dinput(str);
}
inline void setStatusMessage(const std::wstring &str)
{
AutoRestorePyState pystate;
kdlib::setStatusMessage(str);
}
///////////////////////////////////////////////////////////////////////////////
class DbgOut : public kdlib::windbg::WindbgOut
......
......@@ -2,7 +2,7 @@
#define PYKD_VERSION_MAJOR 0
#define PYKD_VERSION_MINOR 3
#define PYKD_VERSION_SUBVERSION 4
#define PYKD_VERSION_BUILDNO 8
#define PYKD_VERSION_BUILDNO 9
#define __VER_STR2__(x) #x
#define __VER_STR1__(x) __VER_STR2__(x)
......
......@@ -230,6 +230,8 @@ void pykd_init()
"Print out string and insert end of line symbol. If dml = True string is printed with dml highlighting ( only for windbg )" ) );
python::def("dinput", &pykd::dinput,
"Provide input for debugger");
python::def("setStatusMessage", &pykd::setStatusMessage,
"Set message at a windbg status bar");
// Python debug output console helper classes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment