Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt6 Exception When Debugging

Qt6 Exception When Debugging

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 312 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.
  • K Offline
    K Offline
    KidTrent
    wrote on last edited by KidTrent
    #1

    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)

    https://puu.sh/K3iCs/1c58688b3d.png
    https://puu.sh/K3iDi/fd8987ffed.png
    https://puu.sh/K3iDq/88886ea9be.png
    https://puu.sh/K3iEs/14e9cf9183.png

    R K 2 Replies Last reply
    0
    • K 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)

      https://puu.sh/K3iCs/1c58688b3d.png
      https://puu.sh/K3iDi/fd8987ffed.png
      https://puu.sh/K3iDq/88886ea9be.png
      https://puu.sh/K3iEs/14e9cf9183.png

      R Offline
      R Offline
      Redman
      wrote on last edited by
      #2

      @KidTrent Did you try to update your DirectX driver?

      https://support.microsoft.com/en-au/topic/how-to-install-the-latest-version-of-directx-d1f5ffa5-dae2-246c-91b1-ee1e973ed8c2

      K 1 Reply Last reply
      0
      • R Redman

        @KidTrent Did you try to update your DirectX driver?

        https://support.microsoft.com/en-au/topic/how-to-install-the-latest-version-of-directx-d1f5ffa5-dae2-246c-91b1-ee1e973ed8c2

        K Offline
        K Offline
        KidTrent
        wrote on last edited by
        #3

        @Redman I have the latest version, I believe. Unless it has to be DirectX 11?

        https://puu.sh/K3jVt/f628f939ae.png

        1 Reply Last reply
        0
        • K 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)

          https://puu.sh/K3iCs/1c58688b3d.png
          https://puu.sh/K3iDi/fd8987ffed.png
          https://puu.sh/K3iDq/88886ea9be.png
          https://puu.sh/K3iEs/14e9cf9183.png

          K Offline
          K Offline
          KidTrent
          wrote on last edited by
          #4

          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)

          1 Reply Last reply
          1
          • K KidTrent has marked this topic as solved on

          • Login

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