mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/gdbgui_v5.0' into 'release/v5.0'
Tools: gdbgui is not supported on Python 3.11 (v5.0) See merge request espressif/esp-idf!21327
This commit is contained in:
commit
75edeabec9
@ -358,8 +358,12 @@ def action_extensions(base_actions: Dict, project_path: str) -> Dict:
|
||||
env['PURE_PYTHON'] = '1'
|
||||
try:
|
||||
process = subprocess.Popen(args, stdout=gdbgui_out, stderr=subprocess.STDOUT, bufsize=1, env=env)
|
||||
except Exception as e:
|
||||
except (OSError, subprocess.CalledProcessError) as e:
|
||||
print(e)
|
||||
if sys.version_info[:2] >= (3, 11):
|
||||
raise SystemExit('Unfortunately, gdbgui is supported only with Python 3.10 or older. '
|
||||
'See: https://github.com/espressif/esp-idf/issues/10116. '
|
||||
'Please use "idf.py gdb" or debug in Eclipse/Vscode instead.')
|
||||
raise FatalError('Error starting gdbgui. Please make sure gdbgui has been installed with '
|
||||
'"install.{sh,bat,ps1,fish} --enable-gdbgui" and can be started.', ctx)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user