Comments (5)
The pretty printer for std::vector
might be out of date regarding the structure of std::vector
in memory. This might be due to a change in libcxx
. The pretty printer code will have to be updated. I am not actively maintaining this project for the mean time, so I might need some time to perform the change.
from libcxx-pretty-printers.
from libcxx-pretty-printers.
Thank you for your readiness to help 👍 I really appreciate it!
The pretty printer code that might need adjustments starts here.
There is no documentation for the new structures, except in the source code of libcxx
. The following implementations are the interesting parts to start with:
- The class
__vector_base
invector
, - The class
__compressed_pair
inmemory
, - The structure
__compressed_pair_elem
inmemory
.
from libcxx-pretty-printers.
Any hints on how to get this to work for queue? gdb complains I cannot perform division and modulo of two variables of type gdb.Value (inside the init method for StdDequePrinter. The exact error says: <class 'gdb.error'> Can't do that binary op on that type ). I tried to cast them to int but one of the values is optimized out and thus can't cast.
from libcxx-pretty-printers.
The std::queue
pretty printing code might also be out of date with the changes to libc++
. I opened the issue #4 for that, and I will try to work on it when I have some spare time. In the mean time, if you can fix it, then please do so and make a pull request.
from libcxx-pretty-printers.
Related Issues (8)
- weak_ptr loop crashes debugger w/ stack overflow HOT 1
- __parent_ not found in rbtree node?
- issue with shared pointer HOT 3
- There is no member or method named __short_mask HOT 4
- std::queue pretty printing does not work anymore HOT 1
- With libc++1-8 std::string is out of date in pretty printers. HOT 2
- No pretty printers working on Linux HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcxx-pretty-printers.