-
Notifications
You must be signed in to change notification settings - Fork 449
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 doesn't set MIDebuggerPath #242
Comments
Try this:
|
This should work in the next version. the gdb path is generated out of the c compiler/ cxx compiler from cmake cache. If it does not work like expected then reopen it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The CMake Tools plugin works for the most part after selecting the environment (the "Working in..." part in bottom right). It correctly builds everything when I select MinGW. However, if I try to select Debug, using the default CMake Tools debugging options, I get the following message:
Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.
If the MIDebuggerPath was set to the environment (ie. the
activeEnvironments
in.cmaketools.json
plus the expected debugger, (ie.bin/gdb
), manual creation of thelaunch.json
would not be required.For example, my present MinGW environment is as follows in
.cmaketools.json
:It would be nice if the CMake Tools was smart enough to set
MIDebuggerPath
to:The text was updated successfully, but these errors were encountered: