Qt Creator, debugging, cannot insert breakpoint error
-
Hi,
Recently I have some error on my project and I can't get rid of it. I use Qt Creator and it is Qt_5.7.0_Mingw project. The problem is in debugging. When I set no breakpoints and debug the program, it executes properly. When I set some breakpoint and start the debugging, the program stops at that breakpoint (as it should be), but it crashes after I step over (F10).
The message is:
"Cannot continue debug process:
Warning:
Cannot insert breakpoint -441
Cannot access memory at adress 0x542397a4"My colleagues have managed to debug solution and trace all the lines in the functions that break at my side.
We are using the same version of Qt.Anyone has any general idea what could be the cause?
Thanks,
Dejan -
Hi and welcome to devnet forum
Did you rerun qmake on creator and a rebuild?
Just to be clear your project setup is completely separated from others?
You do share only source code with your colleagues, but compilation, linking and debugging is completely seaprated?Did you check the build&run setup in Qt creator for anomalies?
Any warnings or even errors?You have a complete setup bsed on a pre-build of Qt creator and Qt libs?
-
Hi @koahnig,
Thank you for your reply.
Did you rerun qmake on creator and a rebuild?
Yes, I've ran qmake and I've rebuilt it, didn't helpJust to be clear your project setup is completely separated from others?
You do share only source code with your colleagues, but compilation, linking and debugging is completely seaprated?
We share only the source. The compilation,linking,debugging is separatedDid you check the build&run setup in Qt creator for anomalies?
Any warnings or even errors?
Yes, everything seems fine.You have a complete setup bsed on a pre-build of Qt creator and Qt libs?
Yes, I have installed Qt_5_7_0_Mingw_32bit most recently and use its setup for developing the project. -
I thought that those things are already done when you have collegues all working.
What Qt creator version are you using?
Possibly there are settings for/from Qt creator wrong. The only further idea I have is deleting the pro.user, but no clue if this may help. -
It's a bit unclear, you built QtCreator or you installed it?