Debug Arduino stuck in delay routine

Sysprogs forums Forums VisualGDB Debug Arduino stuck in delay routine

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26514
    MystikReasons
    Participant

    I created a simple Arduino UNO project with the Built-in GDB simulator.

    I followed your tutorial: https://visualgdb.com/tutorials/arduino/ and everything worked fine.

    But if I want to debug the project and I jump across the delay(1000) routine, the debugger gets stuck.

    If I remove the delays, it works fine.

    Is this a limitation of the built-in GDB simulator?

    PS: If I set the breakpoint under the delay routines, the debugger will never trigger the breakpoint (see attached screenshot).

    Attachments:
    You must be logged in to view attached files.
    #26519
    support
    Keymaster

    Hi,

    Sorry, the built-in gdb simulator doesn’t work well for ARM targets and cannot be recommended for any practical scenarios. It is only usable for basic low-level tests (e.g. quickly checking that the ELF file can load into gdb and has the necessary debugging symbols).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.