pdb-attach icon indicating copy to clipboard operation
pdb-attach copied to clipboard

Windows support

Open spenceforce opened this issue 4 years ago • 3 comments

Currently pdb-attach only support linux.

spenceforce avatar Nov 28 '20 00:11 spenceforce

Windows support will probably require a different implementation since os.kill does not have the same functionality seen in Python for Linux.

spenceforce avatar Nov 29 '20 17:11 spenceforce

module 'signal' has no attribute 'SIGUSR2'

AlucardNosferatu avatar Dec 12 '20 01:12 AlucardNosferatu

This package uses signals to initiate the socket connection that allows pdb to interact with the client. Unfortunately signals on Windows don't work the same as on POSIX, so for the time being this package can't be used on Windows platforms. Adding Windows support will require a different implementation that doesn't use signals. To mitigate this confusion, I will make this package throw an exception when imported on Windows.

spenceforce avatar Dec 12 '20 13:12 spenceforce