MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / PipeConnect

Method PipeConnect

emmy_debugger/src/emmy_facade.cpp:159–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159bool EmmyFacade::PipeConnect(lua_State *L, const std::string &name, std::string &err) {
160 Destroy();
161
162 _emmyDebuggerManager.AddDebugger(L);
163
164 SetReadyHook(L);
165
166 const auto p = std::make_shared<PipelineClientTransporter>();
167 transporter = p;
168 // p->SetHandler(shared_from_this());
169 const auto suc = p->Connect(name, err);
170 if (suc) {
171 WaitIDE(true);
172 }
173 return suc;
174}
175
176void EmmyFacade::WaitIDE(bool force, int timeout) {
177 if (transporter != nullptr

Callers 1

pipeConnectFunction · 0.80

Calls 2

AddDebuggerMethod · 0.80
ConnectMethod · 0.45

Tested by

no test coverage detected