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

Allow watch format specifiers a la Visual Studio

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • Qt Creator 3.2.0-rc1
    • Debugger

    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

            hjk hjk
            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