Skip to content

Eclipse debug instructions: Save GDB Hardware Debugging with project (IDFGH-321) (IEP-1495) #1188

@twelve12pm

Description

@twelve12pm

By default Eclipse saves debug configurations in its workspace directory, not in the project directory, so this file does not get committed into version control. Since it is a minor pain to set up GDB Hardware Debugging, I recommend to improve instructions as follows:

In instructions of how to debug in Eclipse using OpenOCD and GDB Hardware Debugging, here:

https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-eclipse

Before step 12, while still in the Debug Configurations setup dialog, go to the last tab ("Common") and select the radio button for "Shared file." This is because Eclipse by default chooses "Local file" which places the debug configuration in the Eclipse workspace directory. By choosing "Shared file" the file will be placed in the project directory, allowing it to be committed into version control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions