mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[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:
parent
6c05d847de
commit
2690e5bdaf
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user