File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ counting system. This combination of low-level system manipulation and
5555deep domain specific interpreter knowledge makes implementing Python debugging tools
5656exceptionally 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,
5960using system debuggers like gdb and lldb to forcefully inject code. This
6061approach is fundamentally unsafe because the injected code can execute at any
6162point during the interpreter's execution cycle - even during critical operations
@@ -342,6 +343,15 @@ Reference Implementation
342343https://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
You can’t perform that action at this time.
0 commit comments