Remote debugging Raspberry Pi not working
I am evaluating Wing 6.0.8-1 Personal and trying to do remote debugging on an Raspberry Pi 3.
However, I get the following error message:
*******************************************************************
Error: Cannot find wingdb.py in $(WINGHOME)/bin or $(WINGHOME)/src
Error: Please check the WINGHOME definition in wingdbstub.py
The file exists in the right place: (WINGHOME=/home/pi/wing-debugger-raspbian-6.0.8-1):
$ ls -al /home/pi/wingide-debugger-raspbian-6.0.8-1/bin/
total 48
drwxr-xr-x 3 pi pi 4096 Nov 5 14:33 .
drwxr-xr-x 4 pi pi 4096 Nov 5 13:19 ..
drwxr-xr-x 3 pi pi 4096 Nov 5 12:49 dbg
-rw-r--r-- 1 pi pi 3235 Nov 3 14:27 _patchsupport.py
-rwxr-xr-x 1 pi pi 31626 Apr 1 2017 wingdb.py
(Execute permission added by me in a try to fix things.)
What is wrong with my setup?I followed up on the advice with kLogFile, but today everything worked. Not sure what has changed in between -- maybe a restart of WindIDE or I missed a step in the documentation two weeks ago?
Comments
It looks right to me also. Try setting the kLogFile in wingdbstub.py to see if that contains additional diagnostic information.
BTW, an easier way to do this is with Wing Pro's remote development support as described in http://wingware.com/doc/howtos/raspberry (in case you didn't see that already)