| 706 | } |
| 707 | |
| 708 | void 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 | |
| 721 | void DapSession::handleLibraryUnloaded(const dap::ModuleEvent &moduleEvent) |
| 722 | { |