VSCode & debugging

philippe_44
Posts: 26
Joined: Thu May 23, 2019 3:05 pm

VSCode & debugging

Postby philippe_44 » Wed Aug 12, 2020 2:57 am

Hi - I've finally got VSCode and esp32 installed properly. I can build, download, monitor ...
Now I'm facing an issue with debugging. My debug platform works, I'm able to use is running command line outside of VSCode
Inside VSCode, openocd is launched succesfully and received a connection when I start a debugging session but then it whines about a long serie of unknown codes like

Info : dropped 'gdb' connection
Info : accepting 'gdb' connection on tcp/3333
Warn : ignoring character 0x43
Warn : ignoring character 0x6f
Warn : ignoring character 0x6e
Warn : ignoring character 0x74
Warn : ignoring character 0x65
Warn : ignoring character 0x6e
Warn : ignoring character 0x74
Warn : negative acknowledgment, but no packet pending
Warn : ignoring character 0x4c
Warn : ignoring character 0x65
Warn : ignoring character 0x6e
Warn : ignoring character 0x67
Warn : ignoring character 0x74
Warn : ignoring character 0x68
Warn : ignoring character 0x3a
Warn : ignoring character 0x20
Warn : ignoring character 0x33
Warn : ignoring character 0x34
Warn : ignoring character 0x33
Warn : ignoring character 0xd
Warn : ignoring character 0xa
Warn : ignoring character 0xd
Warn : ignoring character 0xa
Warn : ignoring character 0x7b
Warn : ignoring character 0x22
Warn : ignoring character 0x63

And of course nothing happens in term of debug.

Any idea?

[edit]: just realized that these hex char are a HTTP headers ...

Thanks

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: VSCode & debugging

Postby ESP_bignacio » Fri Aug 14, 2020 3:34 am

Can you open an issue in https://github.com/espressif/vscode-esp ... new/choose explaining your setup ?

**To Reproduce**
Steps to reproduce the behavior (including the full log).

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**

- OS Name & Version: [e.g. MacOS X 10.14.5]
- VSCode Version: [e.g. 1.35.1]
- ESP-IDF Version: [e.g. v3.2.2]
- Python Version: [e.g. 2.7.10]

**Logs**
If applicable, please share the log file which can be obtained from

- Windows: `%USERPROFILE%\.vscode\extensions\espressif.esp-idf-extension-VERSION\esp_idf_vsc_ext.log`
- Linux & MacOSX: `$HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/esp_idf_vsc_ext.log`

debug.log in your project folder, if available.

**Additional context**
Add any other context about the problem here.

Who is online

Users browsing this forum: No registered users and 40 guests