Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt project crashes on Debug mode but works on Release?
Forum Updated to NodeBB v4.3 + New Features

Qt project crashes on Debug mode but works on Release?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 930 Views 2 Watching
  • 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.
  • M Offline
    M Offline
    mkeehl22
    wrote on 11 Mar 2015, 05:02 last edited by
    #1

    Hi, I'm making a Qt game, however it crashes when I try to run it on Debug mode (error code 255), but surprisingly doesn't on Release mode (I would think it should be the other way around). Anyone know why?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Mar 2015, 22:56 last edited by
      #2

      Hi and welcome to devnet,

      You might be triggering an assert in debug mode. Do you have a back trace of your crash ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mkeehl22
        wrote on 12 Mar 2015, 00:43 last edited by
        #3

        Hi, Thanks for the reply. How do I generate a back trace in Qt?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 12 Mar 2015, 23:34 last edited by
          #4

          Just start your application with the debugger

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          2/4

          11 Mar 2015, 22:56

          • Login

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