Skip to content

Unable to automatically determine debugger corresponding to compiler #2877

Closed Answered by bobbrow
uuuuu-diwu asked this question in Q&A
Discussion options

You must be logged in to vote

CMake Tools does not use your launch.json to start the debugger. It generates one based on the information it has and goes through the C/C++ extension instead of the Code LLDB extension. If you have a launch.json that works, then use the F5 key to start debugging instead of the debug button in the status bar. You can also remove the debug button from the status bar with the cmake.statusbar.advanced setting if that helps you avoid clicking it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uuuuu-diwu
Comment options

Answer selected by uuuuu-diwu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants