PIO GDB problem

ESP32 debugger problem

I can do ESP32 debugging for older projects but when I now create a new project it does not work with the following error message - grateful for any help.

Error: The PlatformIO task detection didn’t contribute a task for the following configuration:

{


"type": "PlatformIO",

"task": "Monitor",

"problemMatcher": [

    "$platformio"

],

"label": "PlatformIO: Monitor"


}

The task will be ignored.
Error: The PlatformIO task detection didn’t contribute a task for the following configuration:

{


"type": "PlatformIO",

"task": "Pre-Debug",

"problemMatcher": [

    "$platformio"

],

"label": "PlatformIO: Pre-Debug [build in debug mode]"


}

The task will be ignored.

I can do ESP32 debugging for older projects but when I now create a new project it does not work with the following error message - grateful for any help.

Error: The PlatformIO task detection didn’t contribute a task for the following configuration:

{


"type": "PlatformIO",

"task": "Monitor",

"problemMatcher": [

    "$platformio"

],

"label": "PlatformIO: Monitor"


}

The task will be ignored.
Error: The PlatformIO task detection didn’t contribute a task for the following configuration:

{


"type": "PlatformIO",

"task": "Pre-Debug",

"problemMatcher": [

    "$platformio"

],

"label": "PlatformIO: Pre-Debug [build in debug mode]"

}

The task will be ignored.

Also this:

his is a bug, please report it.
For instructions, see:
http://www.gnu.org/software/gdb/bugs/.

/builds/idf/crosstool-NG/.build/src/gdb-7.10/gdb/regcache.c:697: internal-error: regcache_raw_read_unsigned: Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers’ failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB?
(y or n) [answered Y; input not from terminal]

What’s the difference between this post, this post and and this post?

1 Like

Sorry I thought my initial post had not worked as my topic is showing grey, not black, I’m sure there must be a reason for this but I don’t know what it is.