Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21146

Cannot debug nestest struct with CDB when python dumpers enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.8.0-beta1
    • Debugger
    • * Windows 7 x64
      * Creator 4.8-beta1 x64 based on Qt 5.11.1 (MSVC 2015, 64 bit) rev d7be70afd4
      * CDB 6.2.9200.20512 X86
    • Windows

    Description

      typedef struct {
        union {
          struct {
            int bit0: 1;
            int rest: 7;
          } bit;
          int byte;
        } bar;
      } Foo;
      
      int main()
      {
        Foo foo;	
        foo.bar.byte = 42;
        foo.bar.bit.bit0 = 1;	
        return 0; // break here: foo not accessible
      } // step here: foo accessible, but bit not

      When the python dumpers are disabled, the code can be debugged nicely

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes