remove(tools): Drop official support for gdbgui

This commit is contained in:
Roland Dobai
2025-05-21 15:10:50 +02:00
committed by BOT
parent 532ea1ad6d
commit 3efb46e480
10 changed files with 44 additions and 47 deletions

View File

@@ -322,23 +322,10 @@ def action_extensions(base_actions: Dict, project_path: str) -> Dict:
pass
if not subprocess_success or completed_process.returncode != 0:
if sys.version_info[:2] >= (3, 11) and sys.platform == 'win32':
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.'
)
if sys.version_info[:2] >= (3, 13) and sys.platform != 'win32':
raise SystemExit(
'Unfortunately, gdbgui is supported only with Python 3.12 or older. '
'See: https://github.com/cs01/gdbgui/issues/494. '
'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. '
f'Error: {captured_output if subprocess_success else "Unknown"}',
ctx,
raise SystemExit(
'Error occurred while starting gdbgui. Please make sure gdbgui has been installed with '
'pipx based on https://www.gdbgui.com/installation/ and "gdbgui --version" can be run '
'successfully. Gdbgui issues can be reported at https://github.com/cs01/gdbgui/issues.'
)
v = re.search(r'(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.(\d+))?', captured_output)