You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not a Windows user so I'm not sure if I can help. From a quick search on Google I didn't find any way to convert paths like that with pre-installed Python modules.
Is there any chance you could help fixing this please?
What happens if you try shutil.which instead of distutils.spawn.find_executable (which is deprecated)? Same problem?
If yes, maybe this is a Python bug not a pygdbmi one.
Describe the bug
When gdb executable is short format like this:
C:/PROGRA~2/GNUARM~1/102021~1.10/bin/AR470E~1.EXE
Full path: "C:\PROGRA
2\GNUARM1\102021~1.10\bin\arm-none-eabi-gdb.exe"Then the consrtuctor will raise error:
gdb executable could not be resolved from
Checked the code, function
distutils.spawn.find_executable()
will return None forC:/PROGRA~2/GNUARM~1/102021~1.10/bin/AR470E~1.EXE
To Reproduce
The text was updated successfully, but these errors were encountered: