Skip to content

Support restart debugging embedded targets (with custom commands) #10558

@kistlin

Description

@kistlin

Feature Request

To debug an embedded target using a SEGGER J-Link I followed #9956.
Debugging works fine. But the restart button does just stop the debugging.

Currently I'm using cortex-debug and there it is possible to overwrite commands as described here.

...
            "overrideLaunchCommands": [
                "monitor halt",
                "monitor reset",
                "-target-download",
                "monitor reset"
            ],
            "overrideResetCommands": [
                "monitor reset",
            ],
            "overrideRestartCommands": [
                "monitor reset",
            ]
...

Which then allows to restart the debugging with the built-in buttons.
image

Is there a similar thing already present? Or could this be added in the future?

Activity

WardenGnaw

WardenGnaw commented on Feb 21, 2023

@WardenGnaw
Member

@xisui-MSFT Can you handle this issue?

xisui-MSFT

xisui-MSFT commented on Feb 21, 2023

@xisui-MSFT
Contributor

@WardenGnaw Azure Sphere doesn't need this feature for now, so we'll unlikely get support on doing this.
@benmcmorran Are your team interested in this?

benmcmorran

benmcmorran commented on Feb 21, 2023

@benmcmorran
Member

@fearthecowboy would be the best person from the embedded crew to comment on this.

cc @robotdad

fearthecowboy

fearthecowboy commented on Feb 21, 2023

@fearthecowboy
Contributor

I have something similar in progress (plus, making it so that using a jlink it just 'works')

mrx23dot

mrx23dot commented on Jul 12, 2024

@mrx23dot

In jlink I think it's the command
"reset"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @fearthecowboy@WardenGnaw@mrx23dot@benmcmorran@xisui-MSFT

        Issue actions

          Support restart debugging embedded targets (with custom commands) · Issue #10558 · microsoft/vscode-cpptools