================ @@ -0,0 +1,137 @@ +""" +Test lldb-dap "port" configuration to "attach" request +""" + + +import dap_server +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil +import lldbdap_testcase +import os +import shutil +import subprocess +import tempfile +import threading +import time +import sys + + +class TestDAP_attachByPortNum(lldbdap_testcase.DAPTestCaseBase): + def runTargetProgramOnPort(self, port=None, program=None): + server_tool = "lldb-server" ---------------- walter-erquinigo wrote:
lldb-server is available on linux, and gdbserver on mac, so you need to look for both depending on the situation. @JDevlieghere , is there an SB API that we could use to get the path to the gdb-server that LLDB uses? https://github.com/llvm/llvm-project/pull/91570 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits