winIDEA SDK
Loading...
Searching...
No Matches
isys::CProcessCtrl Class Reference

This class provides debug session function. More...

#include <CSessionCtrl.h>

Public Member Functions

void attach ()
 Attach to the process.
 CProcessCtrl (SPConnectionMgr spConnectionMgr, const std::string &rstrProcessURL)
 Constructor for CProcessCtrl.
void thread_focus (const std::string &rstrName)
 Change focused thread.
std::vector< SPProcess_Threadthread_list ()
 Obtains information about process's threads.

Detailed Description

This class provides debug session function.

Constructor & Destructor Documentation

◆ CProcessCtrl()

isys::CProcessCtrl::CProcessCtrl ( SPConnectionMgr spConnectionMgr,
const std::string & rstrProcessURL )

Constructor for CProcessCtrl.

Parameters
spConnectionMgrShared pointer to the connection manager
rstrProcessURLURL or identifier of the process to be controlled in the debug session.
Since
9.21.125

Member Function Documentation

◆ attach()

void isys::CProcessCtrl::attach ( )

Attach to the process.

If winIDEA is currently in debug session, it will attach to the process immediately. If winIDEA is not in the debug session, it will attach to the process when the debug session starts.

Since
9.26.6

◆ thread_focus()

void isys::CProcessCtrl::thread_focus ( const std::string & rstrName)

Change focused thread.

Parameters
rstrNamename of thread to focus
Since
9.21.225

◆ thread_list()

std::vector< SPProcess_Thread > isys::CProcessCtrl::thread_list ( )

Obtains information about process's threads.

Returns
vector of current threads
Since
9.21.312