Can't save changes made during debug

Sysprogs forums Forums VisualGDB Can't save changes made during debug

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #29856
    support
    Keymaster

    As we have mentioned multiple times before, the requirement for the “::” syntax for casts is a known limitation of our Natvis parser. Currently, it does not require a full C++ expression parser, so it simply wraps everything that looks like a member and passes the expression to gdb for evaluation. E.g. ((Field1) + Field2) gets translated to ((object.Field1) + object.Field2).

    Properly recognizing C-style casts, such as (Type)(Field1) and translating them to (Type)(object.Field1), but not (object.Type)(object.Field1) requires much more complex logic. Because this affects a tiny fraction of our users and can be easily worked around with the “(::Type)” syntax or static_cast<>, we will not be able to redesign our parser to avoid it, unless someone is willing to directly cover the development expenses for it (that would be greater than what we charge for a few licenses).

    If you have other issues you would like us to investigate, please let us know the email address associated with your license and we will look into them.

Viewing 16 post (of 16 total)
  • You must be logged in to reply to this topic.