Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. No output in "Application Output" with debugger

No output in "Application Output" with debugger

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 426 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jeremiebourque
    wrote on 28 Jan 2025, 14:57 last edited by jeremiebourque
    #1

    Hi,

    In QtCreator, I get no output in the "Application Output" tab when running the app with the debugger. I do however see it when running without the debugger.

    My setup:

    • Windows 11
    • Qt Creator 15.0.1
    • Qt 6.8.1 llvm mingw 64 bit

    How to reproduce:

    1. Use the "Document Viewer" example project (I get the problem in any projects)
    2. Add a qDebug in the main.cpp file
    3. Compile the app in debug mode
    4. Run the app without the debugger to confirm that the qDebug does show up in the application output.
    5. Run the app again, but this time with the debugger. The qDebug does not show in the application output.

    How can I solve this?

    Thank you.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jeremiebourque
      wrote on 11 Feb 2025, 18:43 last edited by
      #2

      Anyone has an idea?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cristian-adam
        wrote on 12 Feb 2025, 17:35 last edited by
        #3

        lldb on Windows has an issue and it doesn't work in the same way in Qt Creator as gdb or cdb.

        There is a workaround though.

        1. Make sure to have Run in terminal checked
        2. Set the environment variable QT_WIN_DEBUG_CONSOLE=attach

        See the screen cast below:
        alt text

        1 Reply Last reply
        2
        • C Offline
          C Offline
          cristian-adam
          wrote on 12 Feb 2025, 17:48 last edited by
          #4

          I've opened up https://github.com/mstorsjo/llvm-mingw/issues/479 a bug upstream.

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved