bluebird75 / winpdb

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

In Windows XP 32 bits Home (Python 3.4.3) #38

Open tellts opened 4 years ago

tellts commented 4 years ago

Hello. Saved the test case from here http://onreader.mdl.ru/PythonParallelProgrammingCookbook.2nd/content/Ch09.html (Chapter 9. Python Debugging and Testing from "The Book of Python Parallel Programming Recipes", 2nd ed. In Russian) along the path C:/1 in the winpdb_reborn_code_example.py file. `import time import os from random import randint from threading import Thread

class MyThreadClass (Thread): def init(self, name, duration): Thread.init(self) self.name = name self.duration = duration def run(self): print ("---> " + self.name + \ " running, belonging to process ID "\

if name == "main": main()`

`

Successfully installed winpdb-reborn-2.0.0.1

C:\Documents and Settings\ia>cd C:\1

C:\1>python -m winpdb .\winpdb_reborn_code_example.py 23:59:47.844 rpdb2.py:6148 MainThread/2328 setrecursionlimit(): rl = 1000 00:00:00.657 winpdb.py:3006 MainThread/2328 set_font(): Using font "Courier New" for Console 00:00:00.688 winpdb.py:3006 MainThread/2328 set_font(): Using font "Courier New" for Console 00:00:11.203 session_manager.py:1282 Thread-2/2196 _spawn_server(): Terminal ope n string: 'start "rpdb2 - Version RPDB_1_5_0 - Debuggee Console" cmd.exe /K ""C: \Python34\python.exe" "session_manager\..\rpdb2.py" --debugee --pwd="q2G_A2L M" --rid=6268676 "c:\1\winpdb_reborn_code_example.py" "' 00:00:12.938 session_manager.py:1094 Thread-2/2196 wait_for_debuggee(): Scanni ng for debuggee... 00:00:17.016 session_manager.py:1094 Thread-2/2196 __wait_for_debuggee(): Scanni ng for debuggee... 00:00:20.047 session_manager.py:1094 Thread-2/2196 __wait_for_debuggee(): Scanni ng for debuggee...

`

Another console window started up with this text: `

C:\Python34\python.exe: can't open file 'session_manager..\rpdb2.py': [Errno 2] No such file or directory

C:\1>

`

https://s8.hostingkartinok.com/uploads/images/2020/09/93502ddefe8ff570043a997eb5f4eb66.jpg

tellts commented 4 years ago

`>pip list Package Version


altgraph 0.17 appdirs 1.4.4 beautifulsoup4 4.9.1 certifi 2020.6.20 cffi 1.13.2 chardet 3.0.4 colorama 0.4.0 defusedxml 0.5.0 distlib 0.3.1 docopt 0.6.2 fake-useragent 0.1.11 filelock 3.0.12 future 0.18.2 grab 0.6.41 idna 2.8 importlib-metadata 1.1.3 importlib-resources 1.0.2 lxml 4.3.1 numpy 1.15.4 pathlib2 2.3.5 pefile 2019.4.18 Pillow 5.4.1 pip 19.3.1 pipreqs 0.4.10 pudb 2019.2 py2exe 0.9.2.2 pycparser 2.20 pycurl 7.43.1 Pygments 2.3.1 PyInstaller 3.5 pyreadline 2.1 pytils 0.3 pywin32 221 pywin32-ctypes 0.2.0 requests 2.21.0 scandir 1.10.0 selection 0.0.14 setuptools 43.0.0 six 1.15.0 soupsieve 1.9.6 typing 3.7.4.3 urllib3 1.24.3 urwid 2.1.1 user-agent 0.1.9 virtualenv 20.0.27 weblib 0.1.30 wheel 0.33.6 win-unicode-console 0.5 winpdb-reborn 2.0.0.1 wxPython 4.0.6 yarg 0.1.9 zipp 1.2.0 `

tellts commented 4 years ago

`>pip list Package Version


altgraph 0.17 appdirs 1.4.4 beautifulsoup4 4.9.1 certifi 2020.6.20 cffi 1.13.2 chardet 3.0.4 colorama 0.4.0 defusedxml 0.5.0 distlib 0.3.1 docopt 0.6.2 fake-useragent 0.1.11 filelock 3.0.12 future 0.18.2 grab 0.6.41 idna 2.8 importlib-metadata 1.1.3 importlib-resources 1.0.2 lxml 4.3.1 numpy 1.15.4 pathlib2 2.3.5 pefile 2019.4.18 Pillow 5.4.1 pip 19.3.1 pipreqs 0.4.10 pudb 2019.2 py2exe 0.9.2.2 pycparser 2.20 pycurl 7.43.1 Pygments 2.3.1 PyInstaller 3.5 pyreadline 2.1 pytils 0.3 pywin32 221 pywin32-ctypes 0.2.0 requests 2.21.0 scandir 1.10.0 selection 0.0.14 setuptools 43.0.0 six 1.15.0 soupsieve 1.9.6 typing 3.7.4.3 urllib3 1.24.3 urwid 2.1.1 user-agent 0.1.9 virtualenv 20.0.27 weblib 0.1.30 wheel 0.33.6 win-unicode-console 0.5 winpdb-reborn 2.0.0.1 wxPython 4.0.6 yarg 0.1.9 zipp 1.2.0 `