[0.3.x] fixed : dprintln( "a", dml = TRUE ) leads the windbg is hang up

git-svn-id: https://pykd.svn.codeplex.com/svn@90274 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2015-04-10 13:30:19 +00:00 committed by Mikhail I. Izmestev
parent 6c05d847de
commit 2690e5bdaf

View File

@ -64,7 +64,8 @@ public:
virtual void writedml( const std::wstring& str) { virtual void writedml( const std::wstring& str) {
AutoSavePythonState pystate( &m_state ); AutoSavePythonState pystate( &m_state );
write(str); python::object sys = python::import("sys");
sys.attr("stdout").attr("write")(str);
} }
private: private: