Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.15.2
-
Ubuntu Mate 20.04 x64 (compiz enabled)
Qt 5.14.2
QtCreator Based on Qt 5.15.2 (GCC 7.3.1 20180303 (Red Hat 7.3.1-5), 64 bit)
Project build with c++17 (set in cmake)
$ uname -a
Linux workbox 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ cmake --version
cmake version 3.16.3
$ gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
$ g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
$ gdb --version
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
$ python2 --version
Python 2.7.18
$ python3 --version
Python 3.8.10
Ubuntu Mate 20.04 x64 (compiz enabled) Qt 5.14.2 QtCreator Based on Qt 5.15.2 (GCC 7.3.1 20180303 (Red Hat 7.3.1-5), 64 bit) Project build with c++17 (set in cmake) $ uname -a Linux workbox 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux $ cmake --version cmake version 3.16.3 $ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 $ g++ --version g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 $ gdb --version GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 $ python2 --version Python 2.7.18 $ python3 --version Python 3.8.10
Description
After upgrading to the latest qt creator version using MaintenanceTool, I am having all sort of issues when trying to debug. I am not sure what version of qt-creator I had installed before the upgrade, but it was at least whichever did come with Qt 5.12.x. At some point, I did upgrade from 5.12.x to 5.14.1 and then to 4.14.2 when it was available. Again very recently (week or little more I upgraded to 5.15.2 qt creator with maintenance tool)
Before I get to the current issue, I like to mention a related issue? that I never reported. I noticed that with the previous qt creator, whenever I started debugging and I placed breakpoint at the end of the source file, right after debugger started, execution stopped at the very end line of the source file. I had to press continue and everything was fine. It little annoying but I could live with it.
Now in the current version after an upgrade, I place breakpoints at various places in my source file. Then I start debugger some breakpoints are switched few lines down and some disappear from the left side of the editor window where you see line numbers.
While debugging I try to add a breakpoint by clicking on a valid line on left side of the editor (it is always how I enable disable breakpoints, except clearing all in "breakpoint watch window"), In some cases breakpoint is inserted few lines below and not where I want it.