Target Halted Due to debug-request

PA_5 expands to "enum PinName::PA_5 = 5"

PA5 expands to 13

LED_BUILTIN expands to PA5

Yes this has been tried before…:slight_smile:

Since my debug was working I thought I’ll try F5 ‘Start Debugging’ on the above BlinkLed main.cpp, the compiling was successful then it crossed over to the DEBUG CONSOLE…

On the debug console two errors showed, I’ve copied and pasted them below…

_Error_Handler (msg=msg@entry=0x8002e34 "/home/FeK9/.platformio/packages/framework-arduinoststm32/variants/NUCLEO_F4x1RE/variant.cpp", val=val@entry=148) at /home/FeK9/.platformio/packages/framework-arduinoststm32/libraries/SrcWrapper/src/stm32/stm32_def.c:18
    18	  }

also towards the end of the debug output listing this line.

Temporary breakpoint 1 at 0x8000a5e: file /home/FeK9/.platformio/packages/framework-arduinoststm32/cores/arduino/main.cpp, line 50.

Had look at the above main.cpp, the PROBLEM CONSOLE showed 1 issue attribute
"constructor" does not take arguments C/C++ (1094) [25, 27]

Not sure if the above is related to the program not working corectly?

Also ran into 3 #included ‘Intellisense’ phantom squiggles, rip out the ‘framework-arduinoststm32’ because of it then reinstalled it. Still the same phantoms, then learn about ‘Intellisense’ phantom squiggles then rebuilt the index…