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

Inability to debug single GTest test via "Debug Test Under Cursor"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 9.0.0
    • Debugger
    • None
    • Linux/X11

    Description

      As per title. When I click "Debug Test Under Cursor" in QtCreator's console I get:

      Note: Google Test filter = "TlpModuleTests.JourneyWithNoTlpPoint_JourneyPassesWithNoTlpMessages"
      [==========] Running 0 tests from 0 test cases.
      [==========] 0 tests from 0 test cases ran. (0 ms total)
      [  PASSED  ] 0 tests.
      Tests finished with retcode:  0
      

      As opposed to "Run Test Under Cursor":

      Note: Google Test filter = TlpModuleTests.JourneyWithNoTlpPoint_JourneyPassesWithNoTlpMessages
      [==========] Running 1 test from 1 test case.
      [----------] Global test environment set-up.
      [----------] 1 test from TlpModuleTests
      [ RUN      ] TlpModuleTests.JourneyWithNoTlpPoint_JourneyPassesWithNoTlpMessages
      
      [ *** snip! ***]
      

      Notice the difference in Note: fragment:

      Note: Google Test filter = "TlpModuleTests.JourneyWithNoTlpPoint_JourneyPassesWithNoTlpMessages"

      versus:

      Note: Google Test filter = TlpModuleTests.JourneyWithNoTlpPoint_JourneyPassesWithNoTlpMessages

      which maybe points to improper filter passed to GTest.

      Attachments

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

        Activity

          People

            cstenger Christian Stenger
            izowiuz Jakub Narolewski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes