Debugging asserts in Qt Creator

后端 未结 3 1015
心在旅途
心在旅途 2021-01-03 21:17

When I hit a normal assert statement while debugging with Visual Studio I get the option to break into the debugger so I can see the entire stack trace and the local variabl

3条回答
  •  借酒劲吻你
    2021-01-03 22:04

    It's possible. Somehow the feature stopped working for me, but basically what you want is to stop on qFatal(). To ensure this happens, in qt Creator go to Tools -> Options -> Debugger -> GDB and select "Stop when a qFatal is issued"

提交回复
热议问题