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

EASTL is missing visualizers for lldb #462

Open
alecazam opened this issue Mar 13, 2022 · 1 comment
Open

EASTL is missing visualizers for lldb #462

alecazam opened this issue Mar 13, 2022 · 1 comment

Comments

@alecazam
Copy link

alecazam commented Mar 13, 2022

The current biggest hurdle to switching to eastl is the loss of debug support in clang. So I had to switch back to the native stl implementations. The docs mention an AutoExp.dat file that exists for Visual Studio but I don't even see that in the source. clang and lldb has become the dominant C++ compiler out there. Considering macOS, iOS, Android, Windows, and consoles have clang compilers and lldb, I assume EA must have unreleased visualizers for both Visual Studio and for other environments like Xcode.

This is a dead link
https://github.com/electronicarts/EASTL/blob/master/doc/html/AutoExp.dat

I did find this for Visual Studio
https://github.com/electronicarts/EASTL/blob/master/doc/EASTL.natvis

@alecazam
Copy link
Author

alecazam commented Jan 28, 2024

This is a big deal not releasing this. There aren't that many EASTL classes, and so lldb visualizers should be provided. Someone out there has to have written some. I guess I'll have to start writing one myself.

This is the barebones start of a python file that lldbinit can load.
https://github.com/alecazam/kram/blob/main/scripts/EASTL.py

alecazam added a commit to alecazam/kram that referenced this issue Jan 28, 2024
EA only released a natvis file which is no help when running on Xcode.  And Xcode moved all their python visualizers to internal C++ code for their STL impl.  Ugh.
electronicarts/EASTL#462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant