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

Allow watch format specifiers a la Visual Studio

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 3.2.0-rc1
    • Fix Version/s: None
    • Component/s: Debugger
    • Labels:

      Description

      Visual Studio allows to specify the watch format by appending ,n to the variable name.

      E.g. foo,x is displayed hexadecimal, bar,s is displayed as string (char array)

      An overview is available here (mostly printf-compatible):

      http://msdn.microsoft.com/en-us/library/75w45ekt.aspx

      PS: Also note the "pointer as array specifier" that allows to specify the number of elements displayed: pBuffer,[32]

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes