Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Double Debugging
Forum Updated to NodeBB v4.3 + New Features

Double Debugging

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 700 Views 1 Watching
  • 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 Offline
    N Offline
    NZorin
    wrote on last edited by JKSH
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      1
      • N Offline
        N Offline
        NZorin
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved