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

Debugger view: add possibility to copy value without expanding

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Debugger
    • None

    Description

      For example, I can copy values from debugger view in Jetbrains Rider. How it works:

      I highlight internal members of vector and 4 first values. Then i copy it.

       

      p_pt = {const std::vector<__tagPoint3f,std::allocator> &} { size=100 }
       [capacity] = {size_t} 141
       [allocator] = {std::_Compressed_pair<std::allocator,std::_Vector_val,1>} allocator
       [0] = {__tagPoint3f} {x=210.08499999999768, y=41.120000000001163, z=0.18282281112013571}
       [1] = {__tagPoint3f} {x=234.94000000000233, y=42.404999999998836, z=0.20100000953616115}
       [2] = {__tagPoint3f} {x=223.73499999999768, y=20.504999999998837, z=0.18183330966872371}
       [3] = {__tagPoint3f} {x=198.20499999999885, y=18.95999999999767, z=0.18460991462724782}

       

       

      QtCreator have the strange behaviour. Firstly I need to expand every value and only after that I can copy... But you cannot copy only part... You can copy only everything from debugger view. For example:

      I highlight same 4 values (but not internal values due to difference in views). Ctrl-C, Ctrl-V

       

       *h_pt

      It's very annoning to expand everything and then copy everything. In very special case you cannot expand list (https://bugreports.qt.io/browse/QTCREATORBUG-27400) so you cannot copy or view values.

       

       

       

      Attachments

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

        Activity

          People

            hjk hjk
            jihadist Anton null
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes