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

Debug ekf log replays with gdb in vscode #13749

Merged
merged 1 commit into from
Dec 15, 2019
Merged

Conversation

kamilritz
Copy link
Contributor

This PR extends the debug options in Visual Studio Code. It adds the option of convenient gdb debugging during EKF log replays.

How to use it:

  • Copy the absolute path to your log file to your clipboard.

  • Choose EKf replay target and press the play button.
    Screenshot from 2019-12-15 13-38-57

  • Prompt for log file path appears. Tip or paste absolute path to log file. Press enter and enjoy debugging.
    Screenshot from 2019-12-15 13-39-32

FYI @dagar @priseborough @RomanBapst @bresch

@kamilritz kamilritz requested a review from dagar December 15, 2019 12:47
@dagar
Copy link
Member

dagar commented Dec 15, 2019

Great, even better without the task hack.

}
],
"externalConsole": false,
"preLaunchTask": "gazebo iris",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drop the gazebo launch?

"${workspaceFolder}/test_data"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replacing these paths with cmake.buildDirectory might work. I'll try later.

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

Successfully merging this pull request may close these issues.

2 participants