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?

berries's avatar
1
berries
asked 2017-11-05 08:47:00 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2019-03-13 10:08:54 -0500
edit flag offensive 0 remove flag close merge delete

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)

Wingware Support's avatar Wingware Support (2017-11-05 18:57:00 -0500) edit
add a comment see more comments