-
Notifications
You must be signed in to change notification settings - Fork 450
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
Problems with using gdb debugger on MAC #1691
Comments
This is not a CMake Tools bug. We recommend that you open a report in the VSCode repository on GitHub: https://github.com/microsoft/vscode/issues. |
Appologies, that text was meant for closing a different report, not this one. |
Thank you for opening this report. We are going to fix this for the upcoming 1.7 release. |
Is there any workaround for this at the moment? |
I am not sure it would work, but you can try to create an environment where lldb or lldb-mi would not be found in the path (hack the path environment variable). And also don't define miDebuggerPath (not an intuitive move, but I'm hoping it will go through a different code path that will enable you in the end to use gdb on mac). |
CMake Tools 1.7.0 was released today and it contains a fix for this issue. Upgrade the extension in VSCode and let us know if you encounter any other problems. |
Opened from comment in report #884.
Zrealshadow commented 3 hours ago
I still face this problem in MacOS Catalina 10.15.4
And the cmake-tool verison is 1.6.0
When i try to debug,
the log is:
[build] Starting build
[proc] Executing command: /snap/cmake/current/bin/cmake --build /home/hristo/Projects/GitHub/GunBox/GunBox/GunBox/build --config Debug --target GunBox_Game -- -j 10
[build] ninja: no work to do.
[build] Build finished with exit code 0
[debugger] Unable to automatically determine debugger corresponding to compiler: /usr/local/bin/g++-8
[main] Failed to generate debugger configuration
My cmake tool setting:
Any solution to this problem ?
The text was updated successfully, but these errors were encountered: