Skip to content

Debugger broken in versions 18.0.0+ #843

@Zachary-Norris

Description

@Zachary-Norris

Hello, I noticed the debugger gets stuck in Infinite_Loop before even reaching the main() function in versions 18.0.0+ (my testing shows the debugger working in prior versions such as 17.6.0). The issue persists when tested with the default platformio project.

Image
Pausing the debugger shows that the code gets stuck in this default handler Infinite_Loop.

Image
Stepping through the code from the beginning I found this call to be the culprit:

Image
As mentioned, this issue persists even with the above default project.

Here is the configuration of my platformio.ini file:

[env:stm32]
platform = ststm32@18.0.0
board = genericSTM32H750VB
framework = arduino
upload_protocol = stlink
debug_tool = stlink

I am using stlink version 3 with the latest firmware. I'm not sure if regularly uploaded code (non-debugger) is also broken or just when using the debugger as I haven't gotten that far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions