[0.3.x] added : detachAllProcesses ( detach from all process and resume all their threads )

[0.3.x] added : killAllProcesses ( detach from all process then terminate them )

git-svn-id: https://pykd.svn.codeplex.com/svn@86270 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2013-11-05 06:23:35 +00:00 committed by Mikhail I. Izmestev
parent 04e70471dc
commit b46b74cb71

View File

@ -95,8 +95,12 @@ BOOST_PYTHON_MODULE( pykd )
"Attach debugger to a exsisting process" ); "Attach debugger to a exsisting process" );
python::def( "detachProcess", &kdlib::detachProcess, detachProcess_( boost::python::args( "pid" ), python::def( "detachProcess", &kdlib::detachProcess, detachProcess_( boost::python::args( "pid" ),
"Stop process debugging") ); "Stop process debugging") );
python::def( "detachAllProcesses", &kdlib::detachAllProcesses,
"Detach from all process and resume all their threads" );
python::def( "killProcess", &kdlib::terminateProcess, terminateProcess_( boost::python::args( "pid" ), python::def( "killProcess", &kdlib::terminateProcess, terminateProcess_( boost::python::args( "pid" ),
"Stop debugging and terminate current process" ) ); "Stop debugging and terminate current process" ) );
python::def( "killAllProcesses", &kdlib::terminateAllProcesses,
"Detach from all process then terminate them");
python::def( "loadDump", &loadDump, python::def( "loadDump", &loadDump,
"Load crash dump"); "Load crash dump");
python::def( "isLocalKernelDebuggerEnabled", &kdlib::isLocalKernelDebuggerEnabled, python::def( "isLocalKernelDebuggerEnabled", &kdlib::isLocalKernelDebuggerEnabled,