bluebird75 / winpdb

Fork of the official winpdb with improvements
Other
91 stars 24 forks source link

winpdb crashes with Python 3.12 at Windows #44

Open macmacy opened 8 months ago

macmacy commented 8 months ago

Hi, I've installed winpdb-reborn with pip. On attempt to start, winpdb crashes every time. My environment:

Crash info from Windows Event Log:

Faulting application name: python.exe, version: 3.12.1150.1013, time stamp: 0x65724223
Faulting module name: python312.dll, version: 3.12.1150.1013, time stamp: 0x657241c8
Exception code: 0xc0000005
Fault offset: 0x000000000001812f
Faulting process id: 0x80ac
Faulting application start time: 0x01da7472273024ec
Faulting application path: C:\Program Files\Python312\python.exe
Faulting module path: C:\Program Files\Python312\python312.dll
Report Id: e42f69f6-32b2-4b3b-81eb-835d9aea9d42
Faulting package full name: 
Faulting package-relative application ID: 
gpatel-fr commented 8 months ago

Hello

while I'm not affiliated in any way with the project, I can provide you with some information. First this project is very much abandonware, no contribution since 3 years+. Second, the underlaying debugger, rpdb2, contains the instruction 'import imp', this module is not available anymore since python 3.12. So you have no hope of debugging anything with winpdb under python 3.12, even if you managed to start it. Sorry for bringing you the bad news.

macmacy commented 8 months ago

OK, thanks for info. In the meantime I've noticed the lack of imp in Python 3.12 - this is probably the root cause.