Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode使用uart+gdb调试 (VSC-1494) #1318

Closed
1 task done
ysni opened this issue Sep 25, 2024 · 2 comments
Closed
1 task done

vscode使用uart+gdb调试 (VSC-1494) #1318

ysni opened this issue Sep 25, 2024 · 2 comments
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@ysni
Copy link

ysni commented Sep 25, 2024

OS

Linux

Operating System version

20.0.4

Visual Studio Code version

No response

ESP-IDF version

5.0.6

Python version

3.8.10

Doctor command output

idf无输出,还没进入到程序,
截屏2024-09-25 13 10 10

Extension

No response

Description

先要使用vscode进行断点调试,idf.py monitor里使用ctr+c可以进行断点调试,可是vscode里点击调试连不上/dev/ttyUSB0,终端直接执行gdb,也连不上
截屏2024-09-25 13 02 55
截屏2024-09-25 13 04 25
截屏2024-09-25 13 15 00

Debug Message

Remote debugging using /dev/ttyUSB0
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Remote replied unexpectedly to 'vMustReplyEmpty': timeout

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@ysni ysni added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Sep 25, 2024
@github-actions github-actions bot changed the title vscode使用uart+gdb调试 vscode使用uart+gdb调试 (VSC-1494) Sep 25, 2024
@brianignacio5
Copy link
Collaborator

Are you using this extension ? Have you tried using our Eclipse CDT debug adapter configuration as shown here:

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/DEBUGGING.md

If you are not using our extension and only using the Microsoft C/C++ extension, check in the previous documentation a suggested configuration for cppdbg. Since we do not maintain this extension, that is the best we can do.

@brianignacio5
Copy link
Collaborator

Closing this issue for lack of response. Comment here if you need more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

No branches or pull requests

2 participants