MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / handleLibraryLoaded

Method handleLibraryLoaded

src/tools/debugadapter/dapsession.cpp:708–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708void DapSession::handleLibraryLoaded(const dap::ModuleEvent &moduleEvent)
709{
710 dap::OutputEvent outputEvent;
711 outputEvent.category = "console";
712 QString targetName = QString::fromStdString(moduleEvent.module.name);
713 outputEvent.output = QString("Loaded %1. Symbols loaded.\n")
714 .arg(targetName).toStdString();
715 d->session->send(outputEvent);
716 Log("--> Server sent output event to client\n")
717 d->session->send(moduleEvent);
718 Log("--> Server sent module event to client\n")
719}
720
721void DapSession::handleLibraryUnloaded(const dap::ModuleEvent &moduleEvent)
722{

Callers

nothing calls this directly

Calls 2

QStringClass · 0.50
sendMethod · 0.45

Tested by

no test coverage detected