This class is a facade for few other classes. More...
#include <CDebugFacade.h>
This class is a facade for few other classes.
It adds no new functionality, but provides all-in-one interface for the most common isystem.connect operations. It contains most of the functionality of the following classes:
| isys::CDebugFacade::CDebugFacade | ( | std::shared_ptr< ConnectionMgr > | connectionMgr | ) |
Instantiates object.
| connectionMgr | class which maintains connection to winIDEA. Connection must be established before this call. |
Python example: test_get_controllers.py
| std::string isys::CDebugFacade::call | ( | const std::string & | functionName | ) |
See documentation of CExecutionController#call(const std::string &).
If you need to specify function parameters, use overloads of this method in CExecutionController.
| int isys::CDebugFacade::deleteAll | ( | ) |
See documentation of CBreakpointController#deleteAll().
| int isys::CDebugFacade::deleteAllHWBP | ( | ) |
See documentation of CBreakpointController#deleteAllHWBP().
| int isys::CDebugFacade::deleteBP | ( | const std::string & | fileName, |
| int | lineNumber ) |
See documentation of CBreakpointController#deleteBP(const std::string &, int).
| int isys::CDebugFacade::deleteBP | ( | const std::string & | symbolName | ) |
See documentation of CBreakpointController#deleteBP(const std::string &).
| int isys::CDebugFacade::deleteBP | ( | int | memArea, |
| ADDRESS_64 | address ) |
See documentation of CBreakpointController#deleteBP(int, ADDRESS_64).
| int isys::CDebugFacade::deleteHWBP | ( | const std::string & | symbolName | ) |
See documentation of CBreakpointController#deleteHWBP(const std::string &).
| int isys::CDebugFacade::deleteHWBP | ( | int | memArea, |
| ADDRESS_64 | address ) |
See documentation of CBreakpointController#deleteHWBP(int, ADDRESS_64).
| int isys::CDebugFacade::download | ( | ) |
See documentation of CLoaderController#download().
| CValueType isys::CDebugFacade::evaluate | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| const std::string & | expression ) |
See documentation of CDataController#evaluate(IConnectDebug#EAccessFlags, const std::string &).
| CValueType isys::CDebugFacade::evaluate | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| isys::IConnectDebug::EEvaluate | evaluateFlags, | ||
| const std::string & | expression ) |
See documentation of CDataController#evaluate(IConnectDebug::EAccessFlags, IConnectDebug::EEvaluate, const std::string &).
| CAddressControllerSPtr isys::CDebugFacade::getAddressController | ( | ) |
| iconnect::AddressVector isys::CDebugFacade::getAddressOfSourceLine | ( | const std::string & | fileName, |
| int | line, | ||
| bool | isReportSize = false ) |
See documentation of CAddressController::getAddressOfSourceLine(const std::string &,int,bool).
| iconnect::AddressVector isys::CDebugFacade::getAddressOfSourceLineAtPathSource | ( | const std::string & | fileName, |
| int | line, | ||
| const CAddressController::EPathSource & | source, | ||
| bool | isReportSize = false ) |
See documentation of CAddressController::getAddressOfSourceLineAtPathSource(const std::string &,int,const CAddressController::EPathSource&, bool).
| CBreakpointControllerSPtr isys::CDebugFacade::getBreakpointController | ( | ) |
| int isys::CDebugFacade::getCodeArea | ( | bool | bPhysical | ) |
See documentation of CAddressController::getCodeArea(bool) .
| CCPUInfo isys::CDebugFacade::getCPUInfo | ( | ) |
See documentation of CDataController#getCPUInfo().
| CPUStatus isys::CDebugFacade::getCPUStatus | ( | bool | wantStopReason = true | ) |
See documentation of CExecutionController#getCPUStatus(bool).
| CDataControllerSPtr isys::CDebugFacade::getDataController | ( | ) |
| CExecutionControllerSPtr isys::CDebugFacade::getExecutionController | ( | ) |
| CMemAddress isys::CDebugFacade::getExpressionAddress | ( | const std::string & | expression | ) |
See documentation of CAddressController::getExpressionAddress(const std::string &).
| CMemAddress isys::CDebugFacade::getFunctionAddress | ( | const std::string & | functionName | ) |
See documentation of CAddressController::getFunctionAddress(const std::string &) .
| CMemAddress isys::CDebugFacade::getLabelAddress | ( | const std::string & | labelName | ) |
See documentation of CAddressController::getLabelAddress(const std::string &).
| CLoaderControllerSPtr isys::CDebugFacade::getLoaderController | ( | ) |
| int isys::CDebugFacade::getMemoryAreaBytesPerMAU | ( | int | memArea | ) |
See documentation of CDataController#getMemoryAreaBytesPerMAU(int).
| CLineLocation isys::CDebugFacade::getSourceLineAtAddress | ( | ADDRESS_64 | address | ) |
See documentation of CAddressController::getSourceLineAtAddress(ADDRESS_64).
| CLineLocation isys::CDebugFacade::getSourceLineAtAddress | ( | ADDRESS_64 | address, |
| bool | isExact, | ||
| bool | isAbsolutePath ) |
See documentation of CAddressController::getSourceLineAtAddress(ADDRESS_64, bool, bool).
| CLineLocation isys::CDebugFacade::getSourceLineAtAddressAtPathSource | ( | ADDRESS_64 | address, |
| bool | isExact, | ||
| bool | isAbsolutePath, | ||
| const CAddressController::EPathSource & | source ) |
See documentation of CAddressController::getSourceLineAtAddressAtPathSource(ADDRESS_64, bool, bool, const CAddressController::EPathSource&).
| CLineLocation isys::CDebugFacade::getSourceLineAtAddressAtPathSource | ( | ADDRESS_64 | address, |
| const CAddressController::EPathSource & | source ) |
See documentation of CAddressController::getSourceLineAtAddressAtPathSource(ADDRESS_64, const CAddressController::EPathSource&).
| std::string isys::CDebugFacade::getSymbolAtAddress | ( | isys::IConnectDebug::ESymbolFlags | symbolType, |
| uint8_t | memArea, | ||
| ADDRESS_64 | address, | ||
| isys::IConnectDebug::ESymbolFlags | scope = isys::IConnectDebug::sScopeExact ) |
See documentation of CAddressController::getSymbolAtAddress(isys::IConnectDebug::ESymbolFlags, uint8_t, ADDRESS_64, isys::IConnectDebug::ESymbolFlags).
| CSymbolInfo isys::CDebugFacade::getSymbolInfo | ( | uint32_t | flags, |
| const std::string & | expression ) |
See documentation of CAddressController::getSymbolInfo(uint32_t, const std::string &).
| CMemAddress isys::CDebugFacade::getVariableAddress | ( | const std::string & | variableName | ) |
See documentation of CAddressController::getVariableAddress(const std::string &).
| void isys::CDebugFacade::gotoAddress | ( | uint8_t | memArea, |
| ADDRESS_64 | address ) |
See documentation of CExecutionController#gotoAddress(uint8_t, ADDRESS_64).
| void isys::CDebugFacade::gotoFunction | ( | const std::string & | functionName | ) |
See documentation of CExecutionController#gotoFunction(const std::string &).
| std::string isys::CDebugFacade::modify | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| const std::string & | expression, | ||
| const CValueType & | value, | ||
| bool | readBack = true ) |
See documentation of CDataController#modify(IConnectDebug::EAccessFlags, const std::string &, const CValueType &, bool).
| std::string isys::CDebugFacade::modify | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| const std::string & | expression, | ||
| const std::string & | value, | ||
| bool | readBack = true ) |
See documentation of CDataController#modify(IConnectDebug::EAccessFlags, const std::string &, const std::string &, bool).
| std::string isys::CDebugFacade::modify | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| isys::IConnectDebug::EEvaluate | evaluateFlags, | ||
| const std::string & | expression, | ||
| const CValueType & | value, | ||
| bool | readBack = true ) |
See documentation of CDataController#modify(IConnectDebug::EAccessFlags, IConnectDebug::EEvaluate, const std::string &, const CValueType &, bool).
| std::string isys::CDebugFacade::modify | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| isys::IConnectDebug::EEvaluate | evaluateFlags, | ||
| const std::string & | expression, | ||
| const std::string & | value, | ||
| bool | readBack = true ) |
See documentation of CDataController#modify(IConnectDebug::EAccessFlags, IConnectDebug::EEvaluate, const std::string &, const std::string &, bool).
| std::vector< uint8_t > isys::CDebugFacade::readMemory | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| uint8_t | memArea, | ||
| ADDRESS_64 | aAddress, | ||
| ADDRESS_64 | aNumMAUs, | ||
| uint8_t | bytesPerMAU ) |
See documentation of CDataController#readMemory(IConnectDebug::EAccessFlags, BYTE, ADDRESS_64, ADDRESS_64, BYTE) .
| CValueType isys::CDebugFacade::readRegister | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| const std::string & | registerName ) |
See documentation of CDataController#readRegister(IConnectDebug::EAccessFlags, const std::string &).
| CValueType isys::CDebugFacade::readValue | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| uint8_t | memArea, | ||
| ADDRESS_64 | aAddress, | ||
| const SType & | type ) |
See documentation of CDataController#readValue(IConnectDebug::EAccessFlags, BYTE, ADDRESS_64, const SType &).
| int isys::CDebugFacade::reapplyAll | ( | ) |
See documentation of CBreakpointController#reapplyAll().
| void isys::CDebugFacade::reset | ( | ) |
See documentation of CExecutionController#reset().
| int isys::CDebugFacade::run | ( | ) |
See documentation of CExecutionController#run().
| int isys::CDebugFacade::run | ( | CExecutionController::ETimeoutMode | timeoutMode | ) |
See documentation of CExecutionController#run(CExecutionController::ETimeoutMode, bool).
| int isys::CDebugFacade::runUntilAddress | ( | uint8_t | memArea, |
| ADDRESS_64 | address ) |
See documentation of CExecutionController#runUntilAddress(uint8_t, ADDRESS_64).
| int isys::CDebugFacade::runUntilAddress | ( | uint8_t | memArea, |
| ADDRESS_64 | address, | ||
| CExecutionController::ETimeoutMode | timeoutMode ) |
See documentation of CExecutionController#runUntilAddress(uint8_t, ADDRESS_64, CExecutionController::ETimeoutMode, bool).
| int isys::CDebugFacade::runUntilExpression | ( | const std::string & | expression | ) |
This method evaluates the given expression, which must evaluate to address.
Then it runs the target with runUntilAddress. This method aggregates calls to CDataController#evaluate and CExecutionController#runUntilAddress and does not have equivalent in CExecutionController. This method returns immediately - the target may still be in running mode after return!
| expression | expression, which evaluates to address. This can be one of
|
| int isys::CDebugFacade::runUntilExpression | ( | const std::string & | expression, |
| CExecutionController::ETimeoutMode | timeoutMode ) |
This method evaluates the given expression, which must evaluate to address.
Then it runs the target with runUntilAddress. This method aggregates calls to CDataController#evaluate and CExecutionController#runUntilAddress and does not have equivalent in CExecutionController.
| expression | expression, which evaluates to address. This can be one of
|
| timeoutMode | timeout mode |
| int isys::CDebugFacade::runUntilFunction | ( | const std::string & | functionName | ) |
See documentation of CExecutionController#runUntilFunction(const std::string &).
| int isys::CDebugFacade::runUntilFunction | ( | const std::string & | functionName, |
| CExecutionController::ETimeoutMode | timeoutMode ) |
See documentation of CExecutionController#runUntilFunction(const std::string &, CExecutionController::ETimeoutMode, bool).
| int isys::CDebugFacade::runUntilReturn | ( | ) |
See documentation of CExecutionController#runUntilReturn().
| int isys::CDebugFacade::runUntilReturn | ( | CExecutionController::ETimeoutMode | timeoutMode | ) |
See documentation of CExecutionController#runUntilReturn(isys::CExecutionController::ETimeoutMode, bool).
| int isys::CDebugFacade::setBP | ( | const std::string & | symbolName, |
| int | conditionCount = 0, | ||
| const std::string & | conditionExpression = "" ) |
See documentation of CBreakpointController#setBP(const std::string &, int, const std::string &).
| int isys::CDebugFacade::setBP | ( | int | lineNumber, |
| const std::string & | fileName, | ||
| int | conditionCount = 0, | ||
| const std::string & | conditionExpression = "" ) |
See documentation of CBreakpointController#setBP(int, const std::string &, int, const std::string &).
| int isys::CDebugFacade::setBP | ( | int | memArea, |
| ADDRESS_64 | address, | ||
| int | conditionCount = 0, | ||
| const std::string & | conditionExpression = "" ) |
See documentation of CBreakpointController#setBP(int, ADDRESS_64, int, const std::string &).
| int isys::CDebugFacade::setEnabled | ( | bool | isEnabled, |
| const std::string & | fileName, | ||
| int | lineNumber ) |
See documentation of CBreakpointController#setEnabled(bool, const std::string &, int).
| int isys::CDebugFacade::setEnabled | ( | bool | isEnabled, |
| const std::string & | symbolName ) |
See documentation of CBreakpointController#setEnabled(bool, const std::string &).
| int isys::CDebugFacade::setEnabled | ( | bool | isEnabled, |
| int | memArea, | ||
| ADDRESS_64 | address ) |
See documentation of CBreakpointController#setEnabled(bool, int, ADDRESS_64).
| int isys::CDebugFacade::setEnabledAll | ( | bool | isEnabled | ) |
See documentation of CBreakpointController#setEnabledAll(bool).
| int isys::CDebugFacade::setHWBP | ( | uint32_t | rwAccess, |
| uint32_t | accessSize, | ||
| uint32_t | usedDataBytes, | ||
| bool | isEntireObject, | ||
| const std::string & | symbolName, | ||
| uint32_t | data ) |
See documentation of CBreakpointController#setHWBP(DWORD, DWORD, DWORD, bool, const std::string &, DWORD).
| int isys::CDebugFacade::setHWBP | ( | uint32_t | rwAccess, |
| uint32_t | accessSize, | ||
| uint32_t | usedDataBytes, | ||
| int | memArea, | ||
| ADDRESS_64 | address, | ||
| uint32_t | data ) |
See documentation of CBreakpointController#setHWBP(DWORD, DWORD, DWORD, int, ADDRESS_64, DWORD).
| int isys::CDebugFacade::setHWEnabled | ( | bool | isEnabled, |
| const std::string & | symbolName ) |
See documentation of CBreakpointController#setHWEnabled(bool, const std::string &).
| int isys::CDebugFacade::setHWEnabled | ( | bool | isEnabled, |
| int | memArea, | ||
| ADDRESS_64 | address ) |
See documentation of CBreakpointController#setHWEnabled(bool, int, ADDRESS_64).
| int isys::CDebugFacade::setHWEnabledAll | ( | bool | isEnabled | ) |
See documentation of CBreakpointController#setHWEnabledAll(bool).
| void isys::CDebugFacade::setPollingEnabled | ( | bool | isEnabled | ) |
See documentation of CExecutionController#setPollingEnabled(bool).
| int isys::CDebugFacade::setSlowRun | ( | bool | isSlowRun | ) |
See documentation of CExecutionController#setSlowRun(bool).
| void isys::CDebugFacade::stepHigh | ( | CExecutionController::ETimeoutMode | timeoutMode = CExecutionController::TOUT_10s, |
| bool | throwOnTimeout = true ) |
See documentation of CExecutionController#stepHigh().
| void isys::CDebugFacade::stepInst | ( | CExecutionController::ETimeoutMode | timeoutMode = CExecutionController::TOUT_10s, |
| bool | throwOnTimeout = true ) |
See documentation of CExecutionController#stepInst().
| void isys::CDebugFacade::stepOverHigh | ( | CExecutionController::ETimeoutMode | timeoutMode = CExecutionController::TOUT_10s, |
| bool | throwOnTimeout = true ) |
See documentation of CExecutionController#stepOverHigh(CExecutionController::ETimeoutMode, bool).
| void isys::CDebugFacade::stepOverInst | ( | CExecutionController::ETimeoutMode | timeoutMode = CExecutionController::TOUT_10s, |
| bool | throwOnTimeout = true ) |
See documentation of CExecutionController#stepOverInst(CExecutionController::ETimeoutMode, bool).
| void isys::CDebugFacade::stop | ( | ) |
See documentation of CExecutionController#stop().
| bool isys::CDebugFacade::waitUntilStopped | ( | int | timeoutMs = 0, |
| uint32_t | pollingIntervalMs = 100 ) |
See documentation of CExecutionController#waitUntilStopped(int, uint32_t, bool).
| bool isys::CDebugFacade::waitWhileRunning | ( | int | timeoutMs, |
| uint32_t | pollingIntervalMs = 100 ) |
See documentation of CExecutionController#waitWhileRunning(int, uint32_t, bool).
| std::vector< uint8_t > isys::CDebugFacade::writeMemory | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| uint8_t | memArea, | ||
| ADDRESS_64 | aAddress, | ||
| ADDRESS_64 | aNumMAUs, | ||
| uint8_t | bytesPerMAU, | ||
| std::vector< uint8_t > & | buff ) |
See documentation of CDataController#writeMemory(IConnectDebug::EAccessFlags, BYTE, ADDRESS_64, ADDRESS_64, BYTE, std::vector<BYTE> &).
| void isys::CDebugFacade::writeRegister | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| const std::string & | registerName, | ||
| const CValueType & | registerInfo ) |
See documentation of CDataController#writeRegister(IConnectDebug::EAccessFlags, const std::string &, const CValueType &).
| void isys::CDebugFacade::writeValue | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| bool | isRefreshWinIDEAGUIAfterWrite, | ||
| uint8_t | memArea, | ||
| ADDRESS_64 | aAddress, | ||
| const CValueType & | value ) |
See documentation of CDataController#writeValue(IConnectDebug::EAccessFlags, bool, BYTE, ADDRESS_64, const CValueType &).
| void isys::CDebugFacade::writeValue | ( | isys::IConnectDebug::EAccessFlags | accessFlags, |
| uint8_t | memArea, | ||
| ADDRESS_64 | aAddress, | ||
| const CValueType & | value ) |
See documentation of CDataController#writeValue(IConnectDebug::EAccessFlags, BYTE, ADDRESS_64, const CValueType &).