Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
NZorin last edited by JKSH
Problem: Two program versions give different results, but they must give same one.
Solution: Run two debigings, set corresponding breakpoints, and manually look for difference in corresponding varyables.
Shortcoming of this solution:
Loss of time at every breakpoint if all interesting varyable are equal.
Solution of this problem: double debuging whith automatic corresponding varyables comparing.
Algorythm of double debuging:
Go to next breakpoint, if other version didnt come yet, wait. If next breakpoints dont correspond or one pair of corresponding varyables are not equal, signal about error, else go to next breakpoint.
[EDIT: Image link removed --JKSH]
Hi and welcome to devnet,
While your suggestion looks interesting. What does it have to do with Qt ?
NZorin last edited by
I think, developers of qtcreator can add tool for double debugging to the IDE.
Ok, then you're on the wrong place for such a discussion. This is a user forum.