Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for targetDownload option that can skip target-download GDB command. #327

Closed
wants to merge 1 commit into from

Conversation

tritao
Copy link

@tritao tritao commented Aug 11, 2020

This can be useful if the debug target is already properly flashed, and prevents GDB from initiating a download procedure to the debug server.

Not skipping this can lead to the wrong binaries being flashed to a board.

…DB command.

This can be useful if the debug target is already properly flashed, and
prevents GDB from initiating a download procedure to the debug server.

Not skipping this can lead to the wrong binaries being flashed to a
board.
@Marus
Copy link
Owner

Marus commented Jan 18, 2021

This is the intended difference between a attach request type and a launch request type in your launch.json.

Attach should attach the debugger to an already flashed and running target - while "launch" will run it from scratch (i.e. flash the code to the device and start debugging).

Can you try out using the attach request type - I expect this will fix your issue.

@Marus Marus closed this Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants