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

[REG 4.1->4.2] Debugger: vptr appears as integers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.2.0-rc1
    • Qt Creator 4.2.0-beta1
    • Debugger
    • None

    Description

      + sometimes the entry count is much larger than the actual table.

      class Foo { virtual void bar() {} };
      class Bar : public Foo { void bar() {} };
      int main()
      {
          Bar b;
          return 0; // break here
      }
      	Locals		
      		b	@0x7fff1c102a10	Bar
      			[Foo]	@0x7fff1c102a10	Foo
      				[vptr]	_vptr.Foo	
      					[0]	4408790	
      					[1]	140555201721624	
      					[2]	4423696	
      					[3]	6610240	
      					[4]	140555201718488	
      					[5]	4423701	
      					[6]	1	
      					[7]	1	
      					[8]	1	
      					[9]	41	
      					[10]	1	
      					[11]	56	
      					[12]	1	
      					[13]	72	
      					[14]	1	
      					[15]	83	
      					[16]	1	
      					[17]	320	
      					[18]	1	
      					[19]	5579	
      					[20]	1	
      					[21]	5589	
      					[22]	1	
      					[23]	5618	
      					[24]	12	
      					[25]	4213272	
      					[26]	13	
      					[27]	4408960	
      					[28]	25	
      					[29]	6607424	
      					[30]	27	
      					[31]	16	
      					[32]	26	
      					[33]	6607440	
      					[34]	28	
      					[35]	8	
      					[36]	1879047925	
      					[37]	4194968	
      					[38]	5	
      					[39]	4200184	
      					[40]	6	
      					[41]	4195048	
      					[42]	10	
      					[43]	6271	
      					[44]	11	
      					[45]	24	
      					[46]	21	
      					[47]	140555226558784	
      					[48]	3	
      					[49]	6610944	
      					[50]	2	
      					[51]	4464	
      					[52]	20	
      					[53]	7	
      					[54]	23	
      					[55]	4208808	
      					[56]	7	
      					[57]	4207080	
      					[58]	8	
      					[59]	1728	
      					[60]	9	
      					[61]	24	
      					[62]	1879048190	
      					[63]	4206888	
      					[64]	1879048191	
      					[65]	4	
      					[66]	1879048176	
      					[67]	4206456	
      

      Attachments

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

        Activity

          People

            hjk hjk
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes