<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: KDevelop.<br />Restricted Application added a project: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.<br />kossebau requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14337">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Commit <a href="https://phabricator.kde.org/R32:e4b139268ccf9be93b0049c503d4caab6241b4ec" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">e4b139268ccf9be93b0049c503d4caab6241b4ec</a> added some lines to the<br />
sources of the debugged code, but only updated the first breakpoint<br />
position, with the second manually inserted suddenly being before the<br />
first.<br />
This results in a race condition, given the command for the<br />
second breakpoint is only executed when the actual program is also run<br />
and might have already reached the originally set breakpoint. In that case<br />
the manually set breakpoint no longer will be reached, breaking the<br />
assumptions of the test case.</p>

<p>Remove also extra session->stepInto(); which served no obvious purpose<br />
for the given test case.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>fixtestUpdateBreakpoint</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14337">https://phabricator.kde.org/D14337</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/gdb/unittests/test_gdb.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>