Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 在生产环境的APP 怎样输出运行错误信息。

在生产环境的APP 怎样输出运行错误信息。

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 1 Posters 1.4k 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.
  • neemeN Offline
    neemeN Offline
    neeme
    wrote on last edited by
    #1

    大家好,在QT Creator 以debug模式运行程时,当运异常,会停在那时,下面的调试信息窗口会提示那个函数,那一行发生错误。然而在生产环境的机器release 版本的程序,会直接退出程序,没有任何提示,这样很难定位发生错误的地方。怎样才能在生产环境的机器(没有 QTCreator)运行程出时,发生异常错误,能提示具体的位置呢?

    neemeN 1 Reply Last reply
    0
    • neemeN neeme

      大家好,在QT Creator 以debug模式运行程时,当运异常,会停在那时,下面的调试信息窗口会提示那个函数,那一行发生错误。然而在生产环境的机器release 版本的程序,会直接退出程序,没有任何提示,这样很难定位发生错误的地方。怎样才能在生产环境的机器(没有 QTCreator)运行程出时,发生异常错误,能提示具体的位置呢?

      neemeN Offline
      neemeN Offline
      neeme
      wrote on last edited by
      #2

      0_1534324826384_Screenshot from 2018-08-15 16-36-30.png

      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