Path is duplicated, can't debug
I've started a new topic for the discussion that was started around PyGTK (https://ask.wingware.com/question/8485/…). PyGTK is no longer in the picture... I'm just trying to get basic debugging working on a new installation of WingIDE 18.104.22.168.
I create a new project in a temp folder. I create the following file "test.py":
print("Hello world!") x = 4 / 0 print("All done!")
I put a break point on the divide by zero line, and run the code. The break point does not catch, and the divide by zero gives me this error:
File "C:\Temp\Python\test/c:\Temp\Python\test\test.py", line 3, in <module> builtins.ZeroDivisionError: division by zero
You can see that the path for test.py is messed up, sort of "doubled". I assume that's why the break points aren't working. And if I double-click on the error (what always used to take me to the offending line), it does nothing.
So what stupid, simple error am I making?!
I've done a little more testing. In the New Project dialog, if I select "Use Existing Python" and under Python Executable select "Use Default" , everything works just fine, with break points and normal file paths. (That uses a Python 3.8.10 environment that I have installed on my system)
However, if as Python Executable I select "Command Line" (still under "Use Existing Python"), and I select my MSYS2 environment, "C:/msys64/mingw64/bin/python.exe", then I get this behavior of "doubled" path, and break points not working:
File "C:\Temp\Python\test4/c:\Temp\Python\test4\test4.py", line 4, in <module> builtins.ZeroDivisionError: division by zero
The MSYS2 Python executable is 3.11.5, and seems to be working normally otherwise. But the WingIDE debugger doesn't seem to be "connected" into it somehow. Any suggestions?