I'm facing some issues with the Debugger of the VisualStudioCode ESP-IDF Estension.
I installed my Debugger Shield and the according Driver. OpenOCD Server can be started using the user interface.
Hitting F5 (to launch the default esp-idf debugger configuration)
I receive the following error code:
Code: Select all
Traceback (most recent call last):
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\command_processor.py", line 50, in __call__
on_request(protocol_message)
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\command_processor.py", line 87, in on_initialize_request
self.da.adapter_init()
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_adapter.py", line 290, in adapter_init
self.start_gdb()
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_adapter.py", line 511, in start_gdb
raise e
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_adapter.py", line 506, in start_gdb
remote_target=(not self.state.openocd_skip_connection)
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_backend\debug_backend\hw_spec_tools.py", line 97, in get_gdb
remote_port=remote_port, **kwargs)
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_backend\debug_backend\hw_specific\Esp32.py", line 35, in __init__
top_defaults=self.config, **kwargs)
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_backend\debug_backend\hw_specific\Esp.py", line 36, in __init__
top_defaults=self.config, **kwargs)
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_backend\debug_backend\hw_specific\Xtensa.py", line 80, in __init__
top_defaults=self.config, **kwargs)
File "c:\Users\dev\.vscode\extensions\espressif.esp-idf-extension-0.4.0\esp_debug_adapter\debug_adapter\debug_backend\debug_backend\gdb.py", line 54, in __init__
self._gdbmi = GdbController(gdb_path=gdb_path)
TypeError: __init__() got an unexpected keyword argument 'gdb_path'
Using the C/C++ Extension OpenOCD Debugger I do not receive errors but it seems like the debugging session is not connected and also no breakpoints are not hit.
ESP IDF Extension v4.0 was installed via the VisualStudioCode Extension Setuo Guide in the Userinterface of VSCode. Alos the espressif tools where installed this way.
Hope someone can help me.
Manuel