Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Double Debugging

    Tools
    2
    4
    471
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      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.
      0_1526928882686_double_debuggind.svg.png

      [EDIT: Image link removed --JKSH]

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        While your suggestion looks interesting. What does it have to do with Qt ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • N
          NZorin last edited by

          I think, developers of qtcreator can add tool for double debugging to the IDE.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Ok, then you're on the wrong place for such a discussion. This is a user forum.

            You should rather file a feature request on the bug report system or maybe start the discussion on the Qt Creator mailing list.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post