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

Debugging with qtcreator a C programm does not show char * as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 15.0.0-beta1
    • Qt Creator 4.10.2, Qt Creator 10.0.2
    • Debugger
    • None
    • Linux/Other display system

      When debugging a C programm in qt creator and using gdb 13.1 it seems that char pointers are shown as <not accessible>.

      After debugging myself the problem it seems that inside the function hexencode() in the dumper.py file there is no consideration for memoryview.

      Adding the following lines seems to resolve it:

      if isinstance(s, memoryview):
            s = bytes(s)

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

            hjk hjk
            gevm George Evmoiridis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes