Lines Matching defs:body
197 llvm::json::Object body;
198 body.try_emplace("exitCode", (int64_t)process.GetExitStatus());
199 event.try_emplace("body", std::move(body));
205 llvm::json::Object body;
206 body.try_emplace("reason", "exited");
207 body.try_emplace("threadId", (int64_t)tid);
208 event.try_emplace("body", std::move(body));
226 llvm::json::Object body;
227 body.try_emplace("threadId", (int64_t)dap.focus_tid);
228 body.try_emplace("allThreadsContinued", true);
229 event.try_emplace("body", std::move(body));
337 // "body": {
373 // "required": [ "event", "body" ]
382 llvm::json::Object body;
383 EmplaceSafeString(body, "name", std::string(exe_path));
385 body.try_emplace("systemProcessId", (int64_t)pid);
386 body.try_emplace("isLocalProcess", true);
399 body.try_emplace("startMethod", startMethod);
400 event.try_emplace("body", std::move(body));
539 llvm::json::Object body;
549 body.try_emplace("breakpoint", source_bp);
550 body.try_emplace("reason", "changed");
551 bp_event.try_emplace("body", std::move(body));
754 // acknowledgement, so no body field is required."
952 // "body": {
966 // "required": [ "body" ]
974 llvm::json::Object body;
975 body.try_emplace("allThreadsContinued", true);
976 response.try_emplace("body", std::move(body));
1008 // just an acknowledgement, so no body field is required."
1063 // acknowledgement, so no body field is required."
1146 // "body": {
1170 // "required": [ "body" ]
1212 llvm::json::Object body;
1217 body.try_emplace("exceptionId", "signal");
1221 EmplaceSafeString(body, "exceptionId", exc_bp->filter);
1222 EmplaceSafeString(body, "description", exc_bp->label);
1224 body.try_emplace("exceptionId", "exception");
1227 body.try_emplace("exceptionId", "exception");
1229 if (!ObjectContainsKey(body, "description")) {
1232 EmplaceSafeString(body, "description", std::string(description));
1235 body.try_emplace("breakMode", "always");
1255 body.try_emplace("details", std::move(details));
1264 response.try_emplace("body", std::move(body));
1318 // "body": {
1332 // "required": [ "body" ]
1386 llvm::json::Object body;
1417 body.try_emplace("targets", std::move(targets));
1418 response.try_emplace("body", std::move(body));
1468 body.try_emplace("targets", std::move(targets));
1469 response.try_emplace("body", std::move(body));
1529 // "body": {
1594 // "required": [ "body" ]
1600 llvm::json::Object body;
1622 EmplaceSafeString(body, "result", result);
1623 body.try_emplace("variablesReference", (int64_t)0);
1663 EmplaceSafeString(body, "result", desc.GetResult(context));
1664 EmplaceSafeString(body, "type", desc.display_type_name);
1670 body.try_emplace("variablesReference", var_ref);
1672 body.try_emplace("variablesReference", (int64_t)0);
1675 body.try_emplace("memoryReference", EncodeMemoryReference(addr));
1677 body.try_emplace("valueLocationReference", var_ref);
1680 response.try_emplace("body", std::move(body));
1717 // "body": {
1727 llvm::json::Object body;
1740 body.try_emplace("compileUnits", std::move(units));
1744 response.try_emplace("body", std::move(body));
1767 // "body": {
1784 llvm::json::Object body;
1785 body.try_emplace("modules", std::move(modules));
1786 response.try_emplace("body", std::move(body));
1859 // "body": {
1869 llvm::json::Object body;
1937 body.try_emplace("supportsConfigurationDoneRequest", true);
1939 body.try_emplace("supportsFunctionBreakpoints", true);
1941 body.try_emplace("supportsConditionalBreakpoints", true);
1944 body.try_emplace("supportsHitConditionalBreakpoints", true);
1947 body.try_emplace("supportsEvaluateForHovers", true);
1953 body.try_emplace("exceptionBreakpointFilters", std::move(filters));
1956 body.try_emplace("supportsRunInTerminalRequest", true);
1959 body.try_emplace("supportsStepBack", false);
1961 body.try_emplace("supportsSetVariable", true);
1963 body.try_emplace("supportsRestartFrame", false);
1965 body.try_emplace("supportsGotoTargetsRequest", false);
1967 body.try_emplace("supportsStepInTargetsRequest", true);
1969 body.try_emplace("supportsCompletionsRequest", true);
1971 body.try_emplace("supportsDisassembleRequest", true);
1974 body.try_emplace("supportsSteppingGranularity", true);
1976 body.try_emplace("supportsInstructionBreakpoints", true);
1982 body.try_emplace("completionTriggerCharacters",
1986 body.try_emplace("supportsModulesRequest", true);
1988 // body.try_emplace("additionalModuleColumns"] = ColumnDescriptor
1990 // body.try_emplace("supportedChecksumAlgorithms"] = ChecksumAlgorithm
1994 body.try_emplace("supportsRestartRequest", true);
1997 body.try_emplace("supportsExceptionOptions", true);
2000 body.try_emplace("supportsValueFormattingOptions", true);
2002 body.try_emplace("supportsExceptionInfoRequest", true);
2005 body.try_emplace("supportTerminateDebuggee", true);
2009 body.try_emplace("supportsDelayedStackTraceLoading", true);
2011 body.try_emplace("supportsLoadedSourcesRequest", false);
2013 body.try_emplace("supportsProgressReporting", true);
2015 body.try_emplace("supportsLogPoints", true);
2017 body.try_emplace("supportsDataBreakpoints", true);
2019 body.try_emplace("supportsReadMemoryRequest", true);
2024 body.try_emplace("__lldb", std::move(lldb_json));
2026 response.try_emplace("body", std::move(body));
2203 // acknowledgement, so no body field is required."
2336 // acknowledgement, so no body field is required."
2392 // acknowledgement, so no body field is required."
2441 // acknowledgement, so no body field is required."
2550 // "body": {
2565 // "required": [ "body" ]
2571 llvm::json::Object body;
2602 body.try_emplace("scopes", dap.CreateTopLevelScopes());
2603 response.try_emplace("body", std::move(body));
2666 // "body": {
2683 // "required": [ "body" ]
2765 llvm::json::Object body;
2766 body.try_emplace("breakpoints", std::move(response_breakpoints));
2767 response.try_emplace("body", std::move(body));
2815 // just an acknowledgement, so no body field is required."
2907 // "body": {
2922 // "required": [ "body" ]
2964 llvm::json::Object body;
2965 body.try_emplace("breakpoints", std::move(response_breakpoints));
2966 response.try_emplace("body", std::move(body));
3021 // "body": {
3059 // "required": [ "body" ]
3065 llvm::json::Object body;
3080 body.try_emplace("dataId", nullptr);
3081 body.try_emplace("description",
3085 body.try_emplace("dataId", nullptr);
3086 body.try_emplace("description", "variable size is 0");
3096 body.try_emplace("dataId", nullptr);
3097 body.try_emplace("description", error_cstr && error_cstr[0]
3113 body.try_emplace("dataId", nullptr);
3114 body.try_emplace("description",
3120 body.try_emplace("dataId", nullptr);
3121 body.try_emplace("description",
3127 body.try_emplace("dataId", nullptr);
3128 body.try_emplace("description", "variable not found: " + name.str());
3131 if (!body.getObject("dataId")) {
3132 body.try_emplace("dataId", addr + "/" + size);
3133 body.try_emplace("accessTypes", std::move(accessTypes));
3134 body.try_emplace("description",
3137 response.try_emplace("body", std::move(body));
3182 // "body": {
3198 // "required": [ "body" ]
3230 llvm::json::Object body;
3231 body.try_emplace("breakpoints", std::move(response_breakpoints));
3232 response.try_emplace("body", std::move(body));
3276 // "body": {
3291 // "required": [ "body" ]
3297 llvm::json::Object body{{"content", ""}};
3298 response.try_emplace("body", std::move(body));
3351 // "body": {
3377 // "required": [ "body" ]
3387 llvm::json::Object body;
3396 body.try_emplace("totalFrames",
3401 body.try_emplace("stackFrames", std::move(stack_frames));
3402 response.try_emplace("body", std::move(body));
3453 // acknowledgement, so no body field is required."
3521 // "body": {
3536 // "required": [ "body" ]
3607 llvm::json::Object body;
3608 body.try_emplace("targets", std::move(step_in_targets));
3609 response.try_emplace("body", std::move(body));
3650 // acknowledgement, so no body field is required."
3687 // "body": {
3701 // "required": [ "body" ]
3718 llvm::json::Object body;
3719 body.try_emplace("threads", std::move(threads));
3720 response.try_emplace("body", std::move(body));
3769 // "body": {
3814 // "required": [ "body" ]
3821 llvm::json::Object body;
3855 EmplaceSafeString(body, "result", desc.display_value);
3856 EmplaceSafeString(body, "type", desc.display_type_name);
3865 body.try_emplace("variablesReference", new_var_ref);
3867 body.try_emplace("variablesReference", 0);
3870 body.try_emplace("memoryReference", EncodeMemoryReference(addr));
3872 body.try_emplace("valueLocationReference", new_var_ref);
3874 EmplaceSafeString(body, "message", std::string(error.GetCString()));
3881 response.try_emplace("body", std::move(body));
3940 // "body": {
3955 // "required": [ "body" ]
4081 llvm::json::Object body;
4082 body.try_emplace("variables", std::move(variables));
4083 response.try_emplace("body", std::move(body));
4120 // "body": {
4181 llvm::json::Object body;
4204 body.try_emplace("source", CreateSource(line_entry.GetFileSpec()));
4206 body.try_emplace("line", line);
4208 body.try_emplace("column", column);
4219 body.try_emplace("source", CreateSource(decl.GetFileSpec()));
4221 body.try_emplace("line", line);
4223 body.try_emplace("column", column);
4226 response.try_emplace("body", std::move(body));
4286 // "body": {
4428 llvm::json::Object body;
4429 body.try_emplace("instructions", std::move(instructions));
4430 response.try_emplace("body", std::move(body));
4479 // "body": {
4547 llvm::json::Object body;
4549 body.try_emplace("address", formatted_addr);
4550 body.try_emplace("data", llvm::encodeBase64(buf));
4551 response.try_emplace("body", std::move(body));
4568 llvm::json::Object body;
4569 body.try_emplace("breakpoints", std::move(response_breakpoints));
4570 response.try_emplace("body", std::move(body));
4615 // "body": {
4630 // "required": ["body"]
4765 llvm::json::Object body;
4802 body.try_emplace("breakpoints", std::move(response_breakpoints));
4803 response.try_emplace("body", std::move(body));