Qt Creator: unable to switch off disassembly view

2019-09-07 16:20发布

Recently I have installed Ubuntu 16.10. I tried to debug one of my projects in C++/Qt in Qt Creator 4.0.2, that comes in official Ubuntu repository.

For some reason, when I set breakpoint in source code and launch debugging, Qt Creator stops at breakpoint, but only in disassembly view. "Operate by Instruction" is disabled. However I have tried both ways. It seems like debugger cannot find sources for this build, but in previous system version (I think Qt Creator 3.6.x was default) I did everything the same and it worked. I also have this problem on Kubuntu 16.10.

My build/bin directory is within project root. I have also tried disabling shadow build. Nothing worked.

My system is brand new, I have minimal set to download project with git and compile it.

Project/system configuration: - Ubuntu 16.10 x86-64 - gcc 6.2.0 - gdb 7.11.90 - qt creator 4.0.2 - qt 5.6.1 - git 2.9.3

kuba@chimera:~ :) $ qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt5/bin"
QTLIBDIR="/usr/lib/x86_64-linux-gnu"

0条回答
登录 后发表回答