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

[REG 4.1->4.2]Object Address and Pointer Address are swapped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.3.0-rc1
    • Qt Creator 4.2.2, Qt Creator 4.3.0-beta1
    • Debugger
    • None
    • GDB

    Description

      int main()
      {
          int foo = 42;
          int *bar = &foo;
      }

      Right-click bar -> Open Memory Editor. Object Address is the pointer's address, and Pointer Address is the object. You can compare it to foo's address.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes