Live watch

Sysprogs forums Forums VisualGDB Live watch

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31965
    Soren
    Participant

    Hello (Ealier reported in wrong thread !)
    I just came across this, with live watch.
    Live watch is not able to show packed structs like this one

    struct __attribute__((packed, aligned(4))) SCfg // for each configuration
    {
    friend CGlobalVars;
    uint8_t FlashLength; // 0..63
    uint16_t FlashTime; // 0..500
    bool RIL : 4;

    private:
    enum eSetup{Empty = 0,Ok,Wait};
    eSetup SetupState : 4;
    } Cfg[4];

    The : 4 size is not correct showen in live watch window

    BR
    Søren Gullach

    • This topic was modified 2 years, 3 months ago by Soren.
    • This topic was modified 2 years, 3 months ago by Soren.
    #31984
    support
    Keymaster

    Hi,

    Thanks for reporting this. We have updated Live Watch to handle bit fields correctly. Please try this build: VisualGDB-5.6.102.4519.msi

    We have also added an option to only display the variables defined in the current source file, so you can find the relevant variables faster.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.