ashgti wrote:

There are a few other places where `Adaptor` is used:

```
$ rg -i adaptor lldb
lldb/packages/Python/lldbsuite/test/test_categories.py
34:    "lldb-dap": "Tests for the Debug Adaptor Protocol with lldb-dap",

lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
79:            trace_file.write("from adaptor:\n%s\n" % (json_str))
262:        adaptor"""
270:            self.trace_file.write("to adaptor:\n%s\n" % (json_str))
278:        """Get a JSON packet from the VSCode debug adaptor. This function
1187:class DebugAdaptorServer(DebugCommunication):
1199:            process, connection = DebugAdaptorServer.launch(
1227:        adaptor_env = os.environ.copy()
1229:            adaptor_env.update(env)
1232:            adaptor_env["LLDBDAP_LOG"] = log_file
1244:            env=adaptor_env,
1274:        super(DebugAdaptorServer, self).terminate()
1350:            "A testing framework for the Visual Studio Code Debug Adaptor 
protocol"
1360:            "Visual Studio Code Debug Adaptor protocol."
1410:            "current Visual Studio Code Debug Adaptor executable."
1421:        help="Pause waiting for a debugger to attach to the debug adaptor",
1584:            "Debug Adaptor vscode executable path using the --vscode "
1588:    dbg = DebugAdaptorServer(

lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
17:    def create_debug_adaptor(self, lldbDAPEnv=None, connection=None):
18:        """Create the Visual Studio Code debug adaptor"""
23:        self.dap_server = dap_server.DebugAdaptorServer(
31:    def build_and_create_debug_adaptor(self, lldbDAPEnv=None):
33:        self.create_debug_adaptor(lldbDAPEnv)
327:        """Build the default Makefile target, create the DAP debug adaptor,
331:        # Make sure we disconnect and terminate the DAP debug adaptor even
482:        """Build the default Makefile target, create the DAP debug adaptor,
485:        self.build_and_create_debug_adaptor(lldbDAPEnv)

lldb/test/API/tools/lldb-dap/disconnect/TestDAP_disconnect.py
55:        self.build_and_create_debug_adaptor()

lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
78:        self.build_and_create_debug_adaptor()

lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
116:        self.create_debug_adaptor()

lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
63:        self.build_and_create_debug_adaptor()
95:        self.build_and_create_debug_adaptor()
123:        self.build_and_create_debug_adaptor()
142:        self.build_and_create_debug_adaptor()

lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
47:        self.build_and_create_debug_adaptor()
63:        self.build_and_create_debug_adaptor()
104:        self.build_and_create_debug_adaptor()
140:        self.build_and_create_debug_adaptor()
214:        self.build_and_create_debug_adaptor()

lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py
21:        self.create_debug_adaptor()
67:        self.create_debug_adaptor()
81:        self.create_debug_adaptor()

lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py
30:        self.build_and_create_debug_adaptor()
103:        This packet is a bit tricky on the debug adaptor side since there
119:        # Visual Studio Code Debug Adaptors have no way to specify the file
260:        # Visual Studio Code Debug Adaptors have no way to specify the file

lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setExceptionBreakpoints.py
17:        This packet is a bit tricky on the debug adaptor side since there
29:        # Visual Studio Code Debug Adaptors have no way to specify the file

lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setFunctionBreakpoints.py
17:        This packet is a bit tricky on the debug adaptor side since there
28:        # Visual Studio Code Debug Adaptors have no way to specify the file

lldb/test/API/tools/lldb-dap/server/TestDAP_server.py
18:        (process, connection) = dap_server.DebugAdaptorServer.launch(
32:        self.dap_server = dap_server.DebugAdaptorServer(
86:        self.dap_server = dap_server.DebugAdaptorServer(

lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
121:        self.build_and_create_debug_adaptor()
250:        self.assertIn("Timed out trying to get messages from the debug 
adaptor", stderr)

lldb/test/API/tools/lldb-dap/breakpoint-events/TestDAP_breakpointEvents.py
44:        # Visual Studio Code Debug Adaptors have no way to specify the file
```

But these could be in a follow up as well.

https://github.com/llvm/llvm-project/pull/129110
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to