[Lldb-commits] [lldb] [lldb-dap] Added "port" property to vscode "attach" command. (PR #91570)

via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 29 08:41:54 PDT 2024


tedwoodward wrote:

> This breaks lldb-api :: tools/lldb-server/commandline/TestGdbRemoteConnection.py on lldb-aarch64-windows bot.
> 
> https://lab.llvm.org/buildbot/#/builders/141/builds/376

  File "C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 1045, in __init__
    self.name = "lldb-" + str(random.randrange(1e10))
                              ^^^^^^
NameError: name 'random' is not defined


Looks like "import random" should have been added to lldbgdbserverutils.py when the pipe class was moved from TestGDBRemoteConnection.py.

https://github.com/llvm/llvm-project/pull/91570


More information about the lldb-commits mailing list