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

Espressif-IDE 3.0.0 if OpenOCD logging is enabled, gdb will not launch (IEP-1282) #1008

Open
a7v7 opened this issue Jun 27, 2024 · 1 comment
Assignees
Milestone

Comments

@a7v7
Copy link

a7v7 commented Jun 27, 2024

Describe the bug
OS: Win11
ESP-IDF: 5.2.2
Espressif-IDE: 3.0.0
Target: ESP32-S3-DevKitC1-1 (ESP32-S3-WROOM-2 module)

The standard debug configuration using OpenOCD does not work (that's another defect). One of the things that is requested when reporting a gdb / debug failure is a log file from OpenOCD. I added logging information (-l openocd.log -d2) to OpenOCD config options and ran the debug configuration. I got a log from OpenOCD, but could not get a log from gdb. Closer examination proved that gdb was not launched.

To Reproduce
Steps to reproduce the behavior:

  1. Start with a fresh "ESP-IDF GDB OpenOCD Debugging Configuration (in Debug Configurations)
  2. Add -l openocd.log -d2 to the beginning of OpenOCD Setup / Config options.
  3. Add set remotelogfile gdb.log to the first line of GDB Client Setup / Commands text box.
  4. Run the configuration
  5. Since logging is going to a file, there will be no console output.
  6. Wait for the timeout.
  7. Note that there is a "openocd.log" file, but there is no "gdb.log" file.

Expected behavior
I expect that both OpenOCD and gdb will be launched.

@a7v7 a7v7 changed the title Espressif-IDE 3.0.0 if loggin is enabled on openocd, gdb will not launch Espressif-IDE 3.0.0 if OpenOCD logging is enabled, gdb will not launch Jun 27, 2024
@github-actions github-actions bot changed the title Espressif-IDE 3.0.0 if OpenOCD logging is enabled, gdb will not launch Espressif-IDE 3.0.0 if OpenOCD logging is enabled, gdb will not launch (IEP-1282) Jun 27, 2024
@kolipakakondal kolipakakondal added this to the v3.1.0 milestone Sep 3, 2024
@alirana01
Copy link
Collaborator

@a7v7 can you please also attach the log files from the IDE and the openocd.log as well

@alirana01 alirana01 modified the milestones: v3.1.0, v3.1.1 Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants