Qt6 Exception When Debugging
-
wrote on 21 Mar 2024, 02:41 last edited by KidTrent
Anytime I run the debugger on ANY project (even a freshly made Qt6.6.2 or 6.7.0 QML project) I get an exception. I can step through these exceptions and eventually the program starts, but it takes a few attempts (2 to be exact). If I run the application without debugging, it starts up just fine without errors.
I've tried uninstalling and re-installing, remaking projects, and trying a lower Qt version (from 7.0.0 to 6.6.2). Based on the call stack, the issues appears to be D3D related... the issue didn't exist in version 5.15.2.
Does anyone know what's going on and how to fix it? Can't seem to find any information relating to this error...
Here are some screenshots of what is happening. Please note that this is a FRESH project, I simply created it and tried to debug it without any kind changes.
----------------Edit----------------
I was finally able to resolve the issue this morning. I decided to try updating my Graphics Card Drivers, and that fixed the problem. Although I'm not sure why the IDE's debugger would need such a change.Graphics Card: NVIDEA GeForce RTX 4070
Previous Driver Version: 536.23 (Would cause exceptions)
New Driver Version: 551.86 (Fixed exceptions) -
Anytime I run the debugger on ANY project (even a freshly made Qt6.6.2 or 6.7.0 QML project) I get an exception. I can step through these exceptions and eventually the program starts, but it takes a few attempts (2 to be exact). If I run the application without debugging, it starts up just fine without errors.
I've tried uninstalling and re-installing, remaking projects, and trying a lower Qt version (from 7.0.0 to 6.6.2). Based on the call stack, the issues appears to be D3D related... the issue didn't exist in version 5.15.2.
Does anyone know what's going on and how to fix it? Can't seem to find any information relating to this error...
Here are some screenshots of what is happening. Please note that this is a FRESH project, I simply created it and tried to debug it without any kind changes.
----------------Edit----------------
I was finally able to resolve the issue this morning. I decided to try updating my Graphics Card Drivers, and that fixed the problem. Although I'm not sure why the IDE's debugger would need such a change.Graphics Card: NVIDEA GeForce RTX 4070
Previous Driver Version: 536.23 (Would cause exceptions)
New Driver Version: 551.86 (Fixed exceptions)
wrote on 21 Mar 2024, 09:43 last edited by@KidTrent Did you try to update your DirectX driver?
-
@KidTrent Did you try to update your DirectX driver?
-
Anytime I run the debugger on ANY project (even a freshly made Qt6.6.2 or 6.7.0 QML project) I get an exception. I can step through these exceptions and eventually the program starts, but it takes a few attempts (2 to be exact). If I run the application without debugging, it starts up just fine without errors.
I've tried uninstalling and re-installing, remaking projects, and trying a lower Qt version (from 7.0.0 to 6.6.2). Based on the call stack, the issues appears to be D3D related... the issue didn't exist in version 5.15.2.
Does anyone know what's going on and how to fix it? Can't seem to find any information relating to this error...
Here are some screenshots of what is happening. Please note that this is a FRESH project, I simply created it and tried to debug it without any kind changes.
----------------Edit----------------
I was finally able to resolve the issue this morning. I decided to try updating my Graphics Card Drivers, and that fixed the problem. Although I'm not sure why the IDE's debugger would need such a change.Graphics Card: NVIDEA GeForce RTX 4070
Previous Driver Version: 536.23 (Would cause exceptions)
New Driver Version: 551.86 (Fixed exceptions)
wrote on 21 Mar 2024, 11:49 last edited byI was finally able to resolve the issue this morning. I decided to try updating my Graphics Card Drivers, and that fixed the problem. Although I'm not sure why the IDE's debugger would need such a change.
Graphics Card: NVIDEA GeForce RTX 4070
Previous Driver Version: 536.23 (Would cause exceptions)
New Driver Version: 551.86 (Fixed exceptions) -
1/4