/arkcompiler/toolchain/tooling/client/domain/ |
H A D | runtime_client.cpp | 22 #include "tooling/client/session/session.h" 50 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in HeapusageCommand() local 51 uint32_t id = session->GetMessageId(); in HeapusageCommand() 62 if (session->ClientSendReq(message)) { in HeapusageCommand() 63 session->GetDomainManager().SetDomainById(id, "Runtime"); in HeapusageCommand() 70 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in RuntimeEnableCommand() local 71 uint32_t id = session->GetMessageId(); in RuntimeEnableCommand() 82 if (session->ClientSendReq(message)) { in RuntimeEnableCommand() 83 session in RuntimeEnableCommand() 90 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); RuntimeDisableCommand() local 110 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); RunIfWaitingForDebuggerCommand() local 132 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); GetPropertiesCommand() local 156 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); GetPropertiesCommand2() local 252 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); HandleGetProperties() local 302 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); HandleHeapUsage() local [all...] |
H A D | debugger_client.cpp | 25 #include "tooling/client/session/session.h" 72 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in BreakCommand() local 73 uint32_t id = session->GetMessageId(); in BreakCommand() 86 if (session->ClientSendReq(message)) { in BreakCommand() 87 session->GetDomainManager().SetDomainById(id, "Debugger"); in BreakCommand() 99 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in DeleteCommand() local 100 uint32_t id = session->GetMessageId(); in DeleteCommand() 112 if (session->ClientSendReq(message)) { in DeleteCommand() 113 session in DeleteCommand() 120 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); DisableCommand() local 144 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); EnableCommand() local 233 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); ResumeCommand() local 252 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); StepIntoCommand() local 271 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); StepOutCommand() local 290 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); StepOverCommand() local 336 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); RecvReply() local 392 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); PausedReply() local 405 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); handleResponse() local [all...] |
H A D | profiler_client.cpp | 20 #include "tooling/client/session/session.h" 52 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in CpuprofileEnableCommand() local 53 uint32_t id = session->GetMessageId(); in CpuprofileEnableCommand() 64 if (session->ClientSendReq(message)) { in CpuprofileEnableCommand() 65 session->GetDomainManager().SetDomainById(id, "Profiler"); in CpuprofileEnableCommand() 72 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in CpuprofileDisableCommand() local 73 uint32_t id = session->GetMessageId(); in CpuprofileDisableCommand() 84 if (session->ClientSendReq(message)) { in CpuprofileDisableCommand() 85 session in CpuprofileDisableCommand() 92 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); CpuprofileCommand() local 112 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); CpuprofileStopCommand() local 132 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); SetSamplingIntervalCommand() local 186 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); RecvProfilerResult() local 216 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); WriteCpuProfileForFile() local [all...] |
H A D | heapprofiler_client.cpp | 19 #include "tooling/client/session/session.h" 56 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in HeapDumpCommand() local 57 uint32_t id = session->GetMessageId(); in HeapDumpCommand() 71 if (session->ClientSendReq(message)) { in HeapDumpCommand() 72 session->GetDomainManager().SetDomainById(id, "HeapProfiler"); in HeapDumpCommand() 79 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in AllocationTrackCommand() local 80 uint32_t id = session->GetMessageId(); in AllocationTrackCommand() 92 if (session->ClientSendReq(message)) { in AllocationTrackCommand() 93 session in AllocationTrackCommand() 100 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); AllocationTrackStopCommand() local 121 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); Enable() local 141 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); Disable() local 161 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); Samping() local 182 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); SampingStop() local 202 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); CollectGarbage() local [all...] |
H A D | test_client.cpp | 21 #include "tooling/client/session/session.h" 45 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in SuccessCommand() local 46 uint32_t id = session->GetMessageId(); in SuccessCommand() 56 if (session->ClientSendReq(message)) { in SuccessCommand() 57 session->GetDomainManager().SetDomainById(id, "Test"); in SuccessCommand() 64 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in FailCommand() local 65 uint32_t id = session->GetMessageId(); in FailCommand() 75 if (session->ClientSendReq(message)) { in FailCommand() 76 session in FailCommand() [all...] |
/arkcompiler/toolchain/tooling/client/utils/ |
H A D | cli_command.cpp | 28 #include "tooling/client/session/session.h" 79 " session-new add new session\n" 80 " session-remove del a session\n" 81 " session-list list all sessions\n" 82 " session switch session\n" 132 "session 229 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); HeapProfilerCommand() local 266 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); CpuProfileCommand() local 316 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); DebuggerCommand() local 331 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); RuntimeCommand() local 347 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); BreakCommand() local 377 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); DeleteCommand() local 409 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); DisplayCommand() local 418 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); InfosourceCommand() local 438 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); ListCommand() local 476 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); StepCommand() local 491 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); ShowstackCommand() local 505 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); PrintCommand() local 529 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); WatchCommand() local 616 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); TestCommand() local [all...] |
/arkcompiler/toolchain/tooling/client/session/ |
H A D | session.cpp | 16 #include "tooling/client/session/session.h" 32 Session *session = SessionManager::getInstance().GetSessionById(sessionId); in SocketMessageThread() local 34 session->SocketMessageLoop(); in SocketMessageThread() 148 Session *session = GetSessionById(sessionId); in DelSessionById() local 149 if (session == nullptr) { in DelSessionById() 152 session->Stop(); in DelSessionById() 157 std::cout << "session switch to 0" << std::endl; in DelSessionById() 179 Session *session = GetSessionById(sessionId); in SessionSwitch() local 180 if (session in SessionSwitch() [all...] |
/arkcompiler/toolchain/tooling/client/manager/ |
H A D | watch_manager.cpp | 19 #include "tooling/client/session/session.h" 31 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in SendRequestWatch() local 32 uint32_t id = session->GetMessageId(); in SendRequestWatch() 51 if (session->ClientSendReq(message)) { in SendRequestWatch() 53 session->GetDomainManager().SetDomainById(id, "Debugger"); in SendRequestWatch() 60 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in GetPropertiesCommand() local 61 uint32_t id = session->GetMessageId(); in GetPropertiesCommand() 76 if (session->ClientSendReq(message)) { in GetPropertiesCommand() 77 session in GetPropertiesCommand() [all...] |
H A D | source_manager.cpp | 19 #include "tooling/client/session/session.h" 26 Session *session = SessionManager::getInstance().GetSessionById(sessionId_); in SendRequeSource() local 27 uint32_t id = session->GetMessageId(); in SendRequeSource() 39 if (session->ClientSendReq(message)) { in SendRequeSource() 40 session->GetDomainManager().SetDomainById(id, "Debugger"); in SendRequeSource()
|
/arkcompiler/toolchain/tooling/client/ark_cli/ |
H A D | main.cpp | 25 #include "tooling/client/session/session.h" 84 if (strstr(cliCmdStr[1].c_str(), "session") != nullptr) { in InputOnMessage() 145 Session *session = SessionManager::getInstance().GetSessionById(sessionId); in SocketOnMessage() local 146 if (session == nullptr) { in SocketOnMessage() 147 LOGE("arkdb get session by id %{public}u failed", sessionId); in SocketOnMessage() 151 session->ProcSocketMsg(const_cast<char *>(message.c_str())); in SocketOnMessage() 168 LOGE("arkdb create default session failed"); in Main()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/mirrors/ |
H A D | _plugin.py | 34 def pytest_sessionfinish(session: Session):
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | runtime.cpp | 1216 auto session = debugSession_; in StartDebugSession() local 1217 if (session) { in StartDebugSession() 1218 return session; in StartDebugSession() 1221 session = MakePandaShared<DebugSession>(*this); in StartDebugSession() 1223 debugSession_ = session; in StartDebugSession() 1225 return session; in StartDebugSession()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/ |
H A D | inspector_server.cpp | 41 void Call(const std::string &session, const char *method_call, 45 CallMock(session, tmp, std::move(parameters)); 56 (const std::string &session, const std::string &method_call,
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | rich_logging.py | 389 def pytest_runtestloop(self, session: Session) -> Generator[None, object, object]: 390 if session.config.option.collectonly:
|