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

Can't view / copy full content of QString in debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.0.0-rc1
    • Qt Creator 2.8.1
    • Debugger
    • None
    • Linux, Qt Creator 2.8.1
    • 7f6c793f756042b801aba321dcfc946560a4700a

    Description

      When debugging application I want to be able to copy full text from QString variable to review it, in my current application this is long HTML and it would be convenient to copy&paste it into separate file and review in web browser. I tried very hard to get full text from debugger. I tried all menu entries and nothing worked. I tried Tools -> Options -> Debugger -> Maximum string length and I tried adding "set print elements 0" in Tools -> Options -> Debugger -> Additional Startup Commands. Nothing helps. I set Maximum String Length to 100,000 but I am able to copy only first 4,095 characters. Right now I am giving up with this and will manually insert debugging code to save content of these long QString lines into files. But I hope you will work out this bug in future versions or publish a plugin. This is the only thing before I can call your ide perfect for my needs. With EditorTabs plugin it's very good editor (although strange you don't have this plugin by default, switching between files with the mouse seems very inconvenient to me). Now fix the debugger.

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              tyler Tyler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes