MCPcopy Create free account
hub / github.com/Norbyte/bg3se / HandleThreadsRequest

Method HandleThreadsRequest

LuaDebugger/DAPMessageHandler.cs:561–581  ·  view source on GitHub ↗
(DAPRequest request, DAPEmptyPayload msg)

Source from the content-addressed store, hash-verified

559 }
560
561 private void HandleThreadsRequest(DAPRequest request, DAPEmptyPayload msg)
562 {
563 var reply = new DAPThreadsResponse
564 {
565 threads = new List<DAPThread>()
566 };
567
568 reply.threads.Add(new DAPThread
569 {
570 id = ServerThreadId,
571 name = "Lua Server"
572 });
573
574 reply.threads.Add(new DAPThread
575 {
576 id = ClientThreadId,
577 name = "Lua Client"
578 });
579
580 Stream.SendReply(request, reply);
581 }
582
583 private void HandleStackTraceRequest(DAPRequest request, DAPStackFramesRequest msg)
584 {

Callers

nothing calls this directly

Calls 2

SendReplyMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected