GithubHelp home page GithubHelp logo

pure-d / dlang-debug Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 3.0 40 KB

dlang pretty printers for GDB & LLDB for various standard types

License: MIT License

Python 100.00%
dlang debug debugging debugger-visualizer pretty-print pretty-printer gdb lldb natvis vsdbg

dlang-debug's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dlang-debug's Issues

LLDB AA crash

Traceback (most recent call last):
  File "/home/webfreak/.vscode-oss/extensions/code-d/dlang-debug/lldb_dlang.py", line 356, in get_child_at_index
    summary = self.get_key_name(child, index)
  File "/home/webfreak/.vscode-oss/extensions/code-d/dlang-debug/lldb_dlang.py", line 345, in get_key_name
    key = child.CreateChildAtOffset('[%s]' % index, 0, self.key_type)
AttributeError: 'DAssocArrayPrinter' object has no attribute 'key_type'

while debugging dub in generator.d in function configurePackages (around line 252) with CodeLLDB and code-d debug type having local variables open

https://github.com/dlang/dub/blob/48a551094b1763b1562c1990a285857d164f127e/source/dub/generators/generator.d#L252

poor class support with LLDB

classes should be using typeid/typeinfo to show information about the most specified type instead of just the base type.

Example:

Object b = new Foo();

shows b as Object without Foo-specific variables

Natvis and WinDbg Preview

Is the Natvis script usable with WinDbg Preview (Windows 10 microsoft store)?

I tried to load the script during a debugging session and hit the script execute button but do not see any visual effect (e.g. representation of string arrays in the locals view).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.