Lines Matching defs:DAP

1 //===-- DAP.cpp -------------------------------------------------*- C++ -*-===//
9 #include "DAP.h"
61 DAP::DAP(llvm::StringRef path, std::ofstream *log, ReplMode repl_mode,
76 DAP::~DAP() = default;
85 void DAP::PopulateExceptionBreakpoints() {
154 ExceptionBreakpoint *DAP::GetExceptionBreakpoint(const std::string &filter) {
161 // We also cannot call PopulateExceptionBreakpoints() in DAP::DAP() because
179 ExceptionBreakpoint *DAP::GetExceptionBreakpoint(const lldb::break_id_t bp_id) {
190 llvm::Error DAP::ConfigureIO(std::FILE *overrideOut, std::FILE *overrideErr) {
224 void DAP::StopIO() {
232 void DAP::SendJSON(const std::string &json_str) {
241 void DAP::SendJSON(const llvm::json::Value &json) {
259 std::string DAP::ReadJSON() {
348 void DAP::SendOutput(OutputType o, const llvm::StringRef output) {
478 void DAP::SendProgressEvent(uint64_t progress_id, const char *message,
484 DAP::SendFormattedOutput(OutputType o, const char *format, ...) {
494 ExceptionBreakpoint *DAP::GetExceptionBPFromStopReason(lldb::SBThread &thread) {
515 lldb::SBThread DAP::GetLLDBThread(const llvm::json::Object &arguments) {
520 lldb::SBFrame DAP::GetLLDBFrame(const llvm::json::Object &arguments) {
530 llvm::json::Value DAP::CreateTopLevelScopes() {
541 ReplMode DAP::DetectReplMode(lldb::SBFrame frame, std::string &expression,
599 bool DAP::RunLLDBCommands(llvm::StringRef prefix,
619 DAP::RunAttachCommands(llvm::ArrayRef<std::string> attach_commands) {
626 DAP::RunLaunchCommands(llvm::ArrayRef<std::string> launch_commands) {
632 llvm::Error DAP::RunInitCommands() {
638 llvm::Error DAP::RunPreInitCommands() {
644 llvm::Error DAP::RunPreRunCommands() {
650 void DAP::RunPostRunCommands() {
653 void DAP::RunStopCommands() {
657 void DAP::RunExitCommands() {
661 void DAP::RunTerminateCommands() {
666 DAP::CreateTargetFromArguments(const llvm::json::Object &arguments,
696 void DAP::SetTarget(const lldb::SBTarget target) {
710 PacketStatus DAP::GetNextObject(llvm::json::Object &object) {
743 bool DAP::HandleObject(const llvm::json::Object &object) {
796 llvm::Error DAP::Loop() {
819 void DAP::SendReverseRequest(llvm::StringRef command,
837 void DAP::RegisterRequestCallback(std::string request,
842 lldb::SBError DAP::WaitForProcessToStop(uint32_t seconds) {
1020 // Sends a DAP event with an optional body.
1082 void DAP::SetFrameFormat(llvm::StringRef format) {
1096 void DAP::SetThreadFormat(llvm::StringRef format) {
1111 DAP::GetInstructionBreakpoint(const lldb::break_id_t bp_id) {
1120 DAP::GetInstructionBPFromStopReason(lldb::SBThread &thread) {