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. Catching an exeption for debugging a Qt application

Catching an exeption for debugging a Qt application

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 628 Views 1 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.
  • A Offline
    A Offline
    ale82
    wrote on last edited by
    #1

    Hallo,
    Anyone know if it is possible to catch an exeption and print it?
    I mean, my application sometimes crashes depending on which platform it is running, I'd like find out where is the weak point in my code.
    I can't use debugger or IDE like QtCreator, I've already tested in my environmet and I have no problem, I just want install my software in another PC and print in a file the exeption.

    Thank's!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Qt does not throw any exceptions anywhere in it's code. If you want to catch the output, run the application from command line and see what it prints out. Or get the stack trace.

      (Z(:^

      1 Reply Last reply
      0

      • Login

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