-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Can't debug Clang build on Windows anymore #100268
Comments
No, it was changed to dwarf-5 for libbacktrace, it does not matter which compiler was used. clang should default to dwarf-5 since llvm-14, it's possible you are using old version of lldb. |
I use https://packages.msys2.org/groups/mingw-w64-clang-x86_64-toolchain which provided lldb version 19.1.4-1 Using dwarf-4 it make it work again, what should I do then ? |
It may be because of lldb-dap mfussenegger/nvim-dap#186 (comment) |
Thank you for your tests! |
Sounds like this from the GCC 11 release notes:
There must be a mismatch between the debuginfo data and the debug line tables versions. Looking at libbacktrace's |
Tested versions
v4.4.dev.custom_build [cf038de]
System information
Godot v4.4.dev (cf038de) - Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6636) - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 threads)
Issue description
Can't debug clang build on Windows compiled with
scons use_mingw=yes use_llvm=yes dev_build=yes
. Will not allow debug anymore with lldb-dap.This is caused by #100207 cc @bruvzg
I guess if
platform=windows
butuse_llvm=yes
we should still use-gdwarf-4
or something like this ? Or am I missing a package ?Steps to reproduce
N/A
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: