From e44c85414db8627e0a65add0562b12f1a14d5482 Mon Sep 17 00:00:00 2001 From: ussrhero Date: Wed, 27 Dec 2017 20:50:06 +0300 Subject: [PATCH] [pykd_ext] fixed : issue #4 ( output is copied from am additional command window to the main ) --- pykd_ext/dbgout.h | 4 ++-- pykd_ext/version.h | 2 +- pykd_ext/windbgext.cpp | 4 ++-- setup/setup.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pykd_ext/dbgout.h b/pykd_ext/dbgout.h index 1585e4e..6dad55f 100644 --- a/pykd_ext/dbgout.h +++ b/pykd_ext/dbgout.h @@ -26,7 +26,7 @@ public: AutoRestorePyState pystate; m_control->ControlledOutputWide( - DEBUG_OUTCTL_ALL_CLIENTS, + DEBUG_OUTCTL_AMBIENT_TEXT, //DEBUG_OUTCTL_THIS_CLIENT, DEBUG_OUTPUT_NORMAL, L"%ws", str.c_str() @@ -39,7 +39,7 @@ public: AutoRestorePyState pystate; m_control->ControlledOutputWide( - DEBUG_OUTCTL_ALL_CLIENTS | DEBUG_OUTCTL_DML, + DEBUG_OUTCTL_AMBIENT_DML, //DEBUG_OUTCTL_THIS_CLIENT | DEBUG_OUTCTL_DML, DEBUG_OUTPUT_NORMAL, L"%ws", str.c_str() diff --git a/pykd_ext/version.h b/pykd_ext/version.h index 2169dfd..2626b17 100644 --- a/pykd_ext/version.h +++ b/pykd_ext/version.h @@ -3,7 +3,7 @@ #define PYKDEXT_VERSION_MAJOR 2 #define PYKDEXT_VERSION_MINOR 0 #define PYKDEXT_VERSION_SUBVERSION 0 -#define PYKDEXT_VERSION_BUILDNO 13 +#define PYKDEXT_VERSION_BUILDNO 14 #define __VER_STR2__(x) #x #define __VER_STR1__(x) __VER_STR2__(x) diff --git a/pykd_ext/windbgext.cpp b/pykd_ext/windbgext.cpp index b760ec9..73765c4 100644 --- a/pykd_ext/windbgext.cpp +++ b/pykd_ext/windbgext.cpp @@ -438,7 +438,7 @@ py( CComQIPtr control = client; control->ControlledOutput( - DEBUG_OUTCTL_ALL_CLIENTS, + DEBUG_OUTCTL_AMBIENT_TEXT, //DEBUG_OUTCTL_ALL_CLIENTS, DEBUG_OUTPUT_ERROR, e.what() ); @@ -508,7 +508,7 @@ pip( CComQIPtr control = client; control->ControlledOutput( - DEBUG_OUTCTL_ALL_CLIENTS, + DEBUG_OUTCTL_AMBIENT_TEXT, //DEBUG_OUTCTL_ALL_CLIENTS, DEBUG_OUTPUT_ERROR, e.what() ); diff --git a/setup/setup.py b/setup/setup.py index 73405ae..7723564 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -8,7 +8,7 @@ import sys _name = "pykd" _desc = "python windbg extension" -_version = '0.3.3.1' +_version = '0.3.3.2' def getReleaseSrc(): return 'Release_%d.%d' % sys.version_info[0:2]