ESP32-SOLO-1开发板连接esp prog使用vs code 调试报错

hhhh34
Posts: 2
Joined: Mon Oct 18, 2021 3:19 pm

ESP32-SOLO-1开发板连接esp prog使用vs code 调试报错

Postby hhhh34 » Mon Oct 18, 2021 3:38 pm

在参考官方网站的https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/debugging.md指导
我依据步骤进行了调试设置
但是在按下F5后无法启动调试,得到如下图的错误
屏幕截图 2021-10-18 233241.png
屏幕截图 2021-10-18 233241.png (317.72 KiB) Viewed 1465 times
这是我的launch.json文件设置
{
"version": "0.2.0",
"configurations": [
{
"type": "espidf",
"name": "Launch-name",
"request": "launch",
"skipVerifyAppBinBeforeDebug": true
}
]
}

请问是什么问题????

hhhh34
Posts: 2
Joined: Mon Oct 18, 2021 3:19 pm

Re: ESP32-SOLO-1开发板连接esp prog使用vs code 调试报错

Postby hhhh34 » Tue Oct 19, 2021 1:24 am

如下是我的ESP-IDF Debug Adapter的输出

Code: Select all

DEBUG_ADAPTER_STARTED
2021-10-19 09:23:19,697 - Debug Adapter (main) - CRITICAL - Debug adapter -> Extension: DEBUG_ADAPTER_STARTED
DEBUG_ADAPTER_READY2CONNECT
2021-10-19 09:23:19,706 - Debug Adapter (main) - CRITICAL - Debug adapter -> Extension: DEBUG_ADAPTER_READY2CONNECT
Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 932, in _bootstrap_inner
Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.py", line 932, in _bootstrap_inner
  File "threading.py", line 870, in run
  File "threading.py", line 870, in run
  File "subprocess.py", line 1366, in _readerthread
  File "subprocess.py", line 1366, in _readerthread
OSError: [Errno 22] Invalid argument
DEBUG_ADAPTER_STOPPED
2021-10-19 09:23:31,952 - Debug Adapter (main) - CRITICAL - Debug adapter -> Extension: DEBUG_ADAPTER_STOPPED
OSError: [Errno 22] Invalid argument
[Stopped] : ESP-IDF Debug Adapter

Who is online

Users browsing this forum: No registered users and 45 guests