spenceforce / pdb-attach

A python debugger that can attach to running processes.
BSD 3-Clause "New" or "Revised" License
30 stars 1 forks source link

feat: windows support #5

Closed spenceforce closed 3 years ago

spenceforce commented 3 years ago

On Windows use signal SIGBREAK instead of SIGUSR2, which doesn't exist on Windows, to signal PdbDetach to start running.

spenceforce commented 3 years ago

Windows support requires using an alternative method to signals since os.kill has a different effect on Windows vs Posix. For now, Windows support will be postponed.