GDB pretty printers are coming to offset_ptr 😍:
https://github.com/decodeless/offset_ptr/pull/6

No more fumbling in the dark when hovering over variables in a debugger on Linux. It just looks like a regular pointer.

It nearly just works out of the box. The only setup is setting auto-load safe-path so the printer will run. The secret is embedding the script in debug sections.

There's a quick write up here:
https://www.heuristic42.com/blog/64/embedding-gdb-pretty-printers-just-like-natvis/

#gdb #debugging #cpp #programming #coding #debugtools

gdb pretty printers by pknowles Β· Pull Request #6 Β· decodeless/offset_ptr

Summary by CodeRabbit Release Notes Documentation Updated README with clearer explanations of offset_ptr and offset_span Added CMake integration instructions New Features Introduced GDB pret...

GitHub

I'm still looking for help for this debugging problem https://paste.sr.ht/%7Ecaptainepoch/355514f7e25bf529885dd162cf9062bf38df3c2b

I hope someone could help me πŸ™‚

A boost is much appreciated! πŸ˜€

#android #androiddev #debug #debugging #debugtools

(Hashtags are needed for visibility, sorry)

paste.sr.ht