mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-05-15 07:43:23 +08:00
[pykd_ext_2.0] fixed : issue #13983 ( !pykd.info throws unhandled exception )
git-svn-id: https://pykd.svn.codeplex.com/svn@91044 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
c2a15c2769
commit
7b3710b487
pykd_ext
@ -3,7 +3,7 @@
|
|||||||
#define PYKDEXT_VERSION_MAJOR 2
|
#define PYKDEXT_VERSION_MAJOR 2
|
||||||
#define PYKDEXT_VERSION_MINOR 0
|
#define PYKDEXT_VERSION_MINOR 0
|
||||||
#define PYKDEXT_VERSION_SUBVERSION 0
|
#define PYKDEXT_VERSION_SUBVERSION 0
|
||||||
#define PYKDEXT_VERSION_BUILDNO 4
|
#define PYKDEXT_VERSION_BUILDNO 5
|
||||||
|
|
||||||
#define __VER_STR2__(x) #x
|
#define __VER_STR2__(x) #x
|
||||||
#define __VER_STR1__(x) __VER_STR2__(x)
|
#define __VER_STR1__(x) __VER_STR2__(x)
|
||||||
|
@ -132,6 +132,8 @@ info(
|
|||||||
PDEBUG_CLIENT client,
|
PDEBUG_CLIENT client,
|
||||||
PCSTR args
|
PCSTR args
|
||||||
)
|
)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
std::stringstream sstr;
|
std::stringstream sstr;
|
||||||
|
|
||||||
@ -178,6 +180,17 @@ info(
|
|||||||
DEBUG_OUTPUT_NORMAL,
|
DEBUG_OUTPUT_NORMAL,
|
||||||
sstr.str().c_str()
|
sstr.str().c_str()
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
catch(std::exception &e)
|
||||||
|
{
|
||||||
|
CComQIPtr<IDebugControl> control = client;
|
||||||
|
|
||||||
|
control->ControlledOutput(
|
||||||
|
DEBUG_OUTCTL_THIS_CLIENT,
|
||||||
|
DEBUG_OUTPUT_ERROR,
|
||||||
|
e.what()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user