Lines Matching full:runtime
18 #include "runtime/include/runtime.h"
19 #include "runtime/include/runtime_options.h"
20 #include "runtime/include/runtime_notification.h"
21 #include "runtime/include/panda_vm.h"
22 #include "runtime/include/thread_scopes.h"
23 #include "runtime/mem/gc/reference-processor/reference_processor.h"
32 …: LibraryAgent(mutex, PandaString(Runtime::GetOptions().GetDebuggerLibraryPath()), "StartDebugger", in DefaultDebuggerAgent()
39 debug_session_ = Runtime::GetCurrent()->StartDebugSession(); in Load()
41 LOG(ERROR, RUNTIME) << "Could not start debug session"; in Load()
67 uint32_t port = Runtime::GetOptions().GetDebuggerPort(); in CallLoadCallback()
70 LOG(ERROR, RUNTIME) << "'StartDebugger' has failed with " << res; in CallLoadCallback()
84 LOG(ERROR, RUNTIME) << "'StopDebugger' has failed with " << res; in CallUnloadCallback()
91 Runtime::DebugSessionHandle debug_session_;
96 PandaVM *PandaVM::Create(Runtime *runtime, const RuntimeOptions &options, std::string_view runtime_… in Create() argument
98 LanguageContext ctx = runtime->GetLanguageContext(std::string(runtime_type)); in Create()
99 return ctx.CreateVM(runtime, options); in Create()
102 Expected<int, Runtime::Error> PandaVM::InvokeEntrypoint(Method *entrypoint, const std::vector<std::… in InvokeEntrypoint()
105 LOG(ERROR, RUNTIME) << "Method '" << entrypoint << "' has invalid signature"; in InvokeEntrypoint()
106 return Unexpected(Runtime::Error::INVALID_ENTRY_POINT); in InvokeEntrypoint()
108 Expected<int, Runtime::Error> ret = InvokeEntrypointImpl(entrypoint, args); in InvokeEntrypoint()
127 … panda::Runtime::GetCurrent()->ResolveString(this, *frame->GetMethod(), string_id.AsFileId()); in HandleLdaStr()
152 …return !Runtime::GetOptions().GetDebuggerLibraryPath().empty() || Runtime::GetOptions().IsDebugger… in ShouldEnableDebug()
157 if (!Runtime::GetOptions().GetDebuggerLibraryPath().empty()) { in CreateDebuggerAgent()