Debugger view missing
-
wrote on 18 Oct 2024, 10:21 last edited by KK2022
Hello,
I just updated my Qt Creator to 14.0.2. I tried debugging a project (with Qt 6.8 MSVC) and noticed that the debugger view looks strange. I am not able to find the breakpoints list or the debugger perspective.
Attached are the images
A better image of the debugging mode
If I come out of debugging mode, the debugger perspective is back again.
Please let me know if I am missing something.
Thank you. -
wrote on 18 Oct 2024, 12:02 last edited by
Just upgraded to 14.0.2. There is no issue on Ubuntu. Maybe only a Windows related issue.
-
Hello,
I just updated my Qt Creator to 14.0.2. I tried debugging a project (with Qt 6.8 MSVC) and noticed that the debugger view looks strange. I am not able to find the breakpoints list or the debugger perspective.
Attached are the images
A better image of the debugging mode
If I come out of debugging mode, the debugger perspective is back again.
Please let me know if I am missing something.
Thank you.@KK2022 for some reason the default was changed
look for the tiny "View" button and enable breakpoints there again:
-
@KK2022 for some reason the default was changed
look for the tiny "View" button and enable breakpoints there again:
wrote on 18 Oct 2024, 12:14 last edited by -
@J-Hilk That is what's bugging me.
The views button goes missing the moment debug mode is on.
And it comes back when I am no more in debug mode.Without debug mode (Views button is visible)
With debug mode (that whole space is blank now)
-
@KK2022
I am only Creator 13 and am Linux, not Windows/MSVC. But what about starting from View > Views > Reset to Default Layout? Maybe you have already done that though....wrote on 18 Oct 2024, 12:27 last edited by KK2022@JonB Yes, I tried resetting it to default. Unfortunately did not help.
I just noticed something. This issue happens only when using MSVC kit. With MinGW I just tried and the debugger panel is visible.
Akismet is flagging my post as spam. Can't attach an image. -
@JonB Yes, I tried resetting it to default. Unfortunately did not help.
I just noticed something. This issue happens only when using MSVC kit. With MinGW I just tried and the debugger panel is visible.
Akismet is flagging my post as spam. Can't attach an image.Edit: Image of MinGW Debug mode
-
@JonB Yes, I tried resetting it to default. Unfortunately did not help.
I just noticed something. This issue happens only when using MSVC kit. With MinGW I just tried and the debugger panel is visible.
Akismet is flagging my post as spam. Can't attach an image.Edit: Image of MinGW Debug mode
@KK2022 do you have cdb installed ?
it's there for me in mcvc kitit should be here right in your black area....
try disabling dark mode ?
-
@KK2022 do you have cdb installed ?
it's there for me in mcvc kitit should be here right in your black area....
try disabling dark mode ?
wrote on 18 Oct 2024, 13:07 last edited by KK2022@J-Hilk I just checked in the Qt Maintenance Tool. I have "CDB Debugger Support" installed.
I just changed the theme to "Classic" and it looks like it doesn't help much unfortunately. It is still
It is still a blank space on "Classic" theme (Light Mode?!)
@JonB I think so too. I am not sure how to resolve this issue. I have a small project working with Bluetooth devices using a Windows PC. It looks like MSVC has better support for Bluetooth than MinGW. Trying my hand with MSVC now and I stumbled upon this debugger view issue.
-
@J-Hilk I just checked in the Qt Maintenance Tool. I have "CDB Debugger Support" installed.
I just changed the theme to "Classic" and it looks like it doesn't help much unfortunately. It is still
It is still a blank space on "Classic" theme (Light Mode?!)
@JonB I think so too. I am not sure how to resolve this issue. I have a small project working with Bluetooth devices using a Windows PC. It looks like MSVC has better support for Bluetooth than MinGW. Trying my hand with MSVC now and I stumbled upon this debugger view issue.
@KK2022 I actually meant the debugger,
same as MSVC compiler itself you'll need to install it via Microsoft. And its not even part of the default c++ installation, its part of the windows kits -
@KK2022 I actually meant the debugger,
same as MSVC compiler itself you'll need to install it via Microsoft. And its not even part of the default c++ installation, its part of the windows kitswrote on 18 Oct 2024, 14:17 last edited by@J-Hilk It looks like I do have CDB installed on my PC.
These are the debuggers installed on my PC as per Qt.
It's not that I can't debug the project. I can still use the shortcuts like F5, F10... they still works.
It's just the whole debugger perspective panel goes blank during debugging. And I can't see how many breakpoints I have and where they are.
And I have the debugging options through the Menu Tab.
-
wrote on 21 Oct 2024, 06:16 last edited by
I don't know whats happening in your case. However, debugging MSVC on Windows is really slow inside Qt Creator. You are much better off using Visual Studio for that (I personally constantly switch between Qt Creator for editing (most of the time) and VS for debugging). Since you have a CMake project you can just open it up in VS. Don't forget to install the Qt debug helpers: https://wiki.qt.io/IDE_Debug_Helpers
-
I don't know whats happening in your case. However, debugging MSVC on Windows is really slow inside Qt Creator. You are much better off using Visual Studio for that (I personally constantly switch between Qt Creator for editing (most of the time) and VS for debugging). Since you have a CMake project you can just open it up in VS. Don't forget to install the Qt debug helpers: https://wiki.qt.io/IDE_Debug_Helpers
wrote on 21 Oct 2024, 16:58 last edited by@SimonSchroeder Thank you so much for the suggestion. I will try it out. Thank you.
Unfortunately with Qt Creator, I haven't found a solution. I tried reinstalling Qt completely. Nothing has changed. I hope we find a solution or maybe an update resolves this.
1/13