79424509

Date: 2025-02-09 06:53:01
Score: 4.5
Natty: 4
Report link

Our Java debugger shows owned and waiting-on synchronization monitor ids for each thread, which helps a lot when debugging deadlocks. We're building a Python (CPython) debugger now and would like to do the same. Anyone know if there is a way to do this with the full control we have (launching the user program with exec() and the Python side of the debugger is our own)? Is it possible to subclass and replace the builtin lock and synchronization classes?

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: lbarowski