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

Instance / Pointer mismatch debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.2.0-rc1
    • Qt Creator 4.1.0
    • Debugger
    • None
    • CentOS 7.x, Ubuntu 16.04

    Description

      Qt 5.7 Bug Report /Window / Views / Locals and Expressions (menu to choose)
      Name Value Type Comment Code
      k 5005 int correct int k = 5005;
      pk 5005 int incorrect auto pk = &k;
      pk 0x000000ad67aff6e4 (5005) Int * correct (MS VS 2015) auto pk = &k;
      sp <not accessible> incorrect, it is accessible; type missing auto sp = make_shared<int>(8008);
      sp shared_ptr 8008 [1 strong ref ] [ make shared ] std::shared_ptr<int> correct (MS VS 2015) auto sp = make_shared<int>(8008);
      pint 8008 int incorrect auto pint = sp.get();
      pint 0x0000026fd9022470 (8008) Int * correct (MS VS 2015) auto pint = sp.get();
      psp <not accessible> incorrect auto psp = &sp;
      psp 0x000000ad67aff728 shared_ptr 8008 [ 1 strong ref ] [ make_shared ] std::shared_ptr<int> * correct (MS VS 2015) auto psp = &sp;

      Attachments

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

        Activity

          People

            hjk hjk
            EE Ewan Ewart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes