Skip to content

Commit 16f0d5b

Browse files
committed
Add links
1 parent 08d3fb5 commit 16f0d5b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

peps/pep-0778.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ counting system. This combination of low-level system manipulation and
5555
deep domain specific interpreter knowledge makes implementing Python debugging tools
5656
exceptionally difficult.
5757

58-
The few tools that do attempt this resort to suboptimal and unsafe methods,
58+
The few tools ( see for example [1]_ and [2]_ )that do attempt this resort to
59+
suboptimal and unsafe methods,
5960
using system debuggers like gdb and lldb to forcefully inject code. This
6061
approach is fundamentally unsafe because the injected code can execute at any
6162
point during the interpreter's execution cycle - even during critical operations
@@ -342,6 +343,15 @@ Reference Implementation
342343
https://github.com/pablogsal/cpython/commits/remote_pdb/
343344

344345

346+
References
347+
==========
348+
349+
.. [1] DebugPy
350+
https://github.com/microsoft/debugpy/blob/43f41029eabce338becbd1fa1a09727b3cfb1140/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/attach.cpp#L4
351+
352+
.. [2] Memray
353+
https://github.com/bloomberg/memray/blob/main/src/memray/_memray/inject.cpp
354+
345355
Copyright
346356
=========
347357

0 commit comments

Comments
 (0)