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

Creator's output pane should detect ASSERT statements and allow the user to navigate to the source

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.1.0
    • Qt Creator 2.0.0
    • All Other Issues
    • None
    • 4da21c612eddda05fe8e89f9e03c019097b7af5a

    Description

      When a Qt app asserts at runtime, it prints something like this:

      ASSERT: "layout != 0" in file /home/harald/qt/qt/src/gui/widgets/qtoolbararealayout.cpp, line 876

      Unfortunately, the message is not clickable in creator's "Application Output" panel, so the user needs to manually navigate to that code line.

      A simple regexp on the app's output pane should suffice to make that ASSERT clickable (maybe even turn the source code line into a link to indicate that it's clickable?).

      If that turns out to be too slow, maybe allow CTRL-click on the output pane, and try hard to interpret whatever is under the cursor?

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            fernenge Harald Fernengel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes