summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/debugpy/hardcode-lldb.patch
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2023-03-09 10:22:33 -0500
committerShea Levy <shea@shealevy.com>2023-03-09 10:22:33 -0500
commit57b37aa4205922a37cd82040ad4451335598bc06 (patch)
treee00c8b706e71d90a8501e062b7314e887784039c /pkgs/development/python-modules/debugpy/hardcode-lldb.patch
parentb094f644af3baabbe5d0086ef7faf2e5a33d3581 (diff)
parent6b79fe8cdc7bc70cc289478a1da0dc07fe8da9b0 (diff)
Merge branch 'master' into biscuit-cli-master
Diffstat (limited to 'pkgs/development/python-modules/debugpy/hardcode-lldb.patch')
-rw-r--r--pkgs/development/python-modules/debugpy/hardcode-lldb.patch13
1 files changed, 13 insertions, 0 deletions
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),