Stop debugging – STM32F4

Sysprogs forums Forums VisualGDB Stop debugging – STM32F4

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9638
    devrope
    Participant

    When I stop debugging the target halts, this was not the behavior in VisualGDB 5.1 and older.
    I tried all different options in “when debug session ends” but all of them makes the target halt.
    Also tried updating J-Link but that doesn’t help.

    #9647
    support
    Keymaster

    Hi,

    Please try manually running commands like ‘detach’ or ‘disconnect’ in the GDB session window and see if any of those ends debugging with resuming the target.

    If it does, please configure VisualGDB to use that command on exit. If it does not work, please try enabling the GDB logging on the Advanced GDB Settings page of VisualGDB Project Properties. Then try ending debugging and check the last commands shown in the gdb log.

    #9659
    devrope
    Participant

    In the GDB CL I tried detach but target didn’t understand, then disconnect and it worked.
    Changed to -target-disconnect in settings and after that it did work.
    Strange because I tried all four options yesterday and none of them worked..

    #9670
    support
    Keymaster

    Hi,

    No problem. We would advise to backup your .vgdbsettings file with the settings that work so that if it stops working again you could compare the settings and see what breaks it.

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