From 9b54e8abdef0ae7389c6fefa7ff2d27461950169 Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Fri, 17 Feb 2023 06:52:01 +0100 Subject: python3Packages.debugpy: lldb support --- pkgs/development/python-modules/debugpy/hardcode-lldb.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkgs/development/python-modules/debugpy/hardcode-lldb.patch (limited to 'pkgs/development/python-modules/debugpy/hardcode-lldb.patch') diff --git a/pkgs/development/python-modules/debugpy/hardcode-lldb.patch b/pkgs/development/python-modules/debugpy/hardcode-lldb.patch new file mode 100644 index 000000000000..43ededa083cf --- /dev/null +++ b/pkgs/development/python-modules/debugpy/hardcode-lldb.patch @@ -0,0 +1,13 @@ +diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py +index ed43e370..b28ab453 100644 +--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py ++++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py +@@ -494,7 +494,7 @@ def run_python_code_mac(pid, python_code, connect_debugger_tracing=False, show_d + is_debug = 0 + # Note that the space in the beginning of each line in the multi-line is important! + cmd = [ +- 'lldb', ++ '@lldb@/bin/lldb', + '--no-lldbinit', # Do not automatically parse any '.lldbinit' files. + # '--attach-pid', + # str(pid), -- cgit v1.2.3