forked from mirrors/0ad
This was SVN commit r13418.
This commit is contained in:
@@ -192,7 +192,7 @@ void CThreadDebugger::ClearTrapsToRemove()
|
||||
|
||||
}
|
||||
else
|
||||
itr++;
|
||||
++itr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ void CThreadDebugger::SetAllNewTraps()
|
||||
{
|
||||
CScopeLock lock(m->m_Mutex);
|
||||
std::list<CActiveBreakPoint*>::iterator itr1;
|
||||
for (itr1 = m->m_ActiveBreakPoints.begin(); itr1 != m->m_ActiveBreakPoints.end(); itr1++)
|
||||
for (itr1 = m->m_ActiveBreakPoints.begin(); itr1 != m->m_ActiveBreakPoints.end(); ++itr1)
|
||||
{
|
||||
if ((*itr1)->m_ActualLine == (*itr).m_UserLine)
|
||||
trapAlreadySet = true;
|
||||
@@ -243,7 +243,7 @@ void CThreadDebugger::SetAllNewTraps()
|
||||
continue;
|
||||
}
|
||||
}
|
||||
itr++;
|
||||
++itr;
|
||||
}
|
||||
m->m_pDebuggingServer->ReleaseBreakPointAccess(breakPointsLockID);
|
||||
}
|
||||
@@ -313,7 +313,7 @@ void CThreadDebugger::ReturnActiveBreakPoints(jsbytecode* pBytecode)
|
||||
m->m_pDebuggingServer->ReleaseBreakPointAccess(breakPointsLockID);
|
||||
}
|
||||
else
|
||||
itr++;
|
||||
++itr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -620,7 +620,7 @@ bool CThreadDebugger::ToggleBreakPoint(std::string filename, uint userLine)
|
||||
{
|
||||
CScopeLock lock(m->m_Mutex);
|
||||
std::list<CActiveBreakPoint*>::iterator itr;
|
||||
for (itr = m->m_ActiveBreakPoints.begin(); itr != m->m_ActiveBreakPoints.end(); itr++)
|
||||
for (itr = m->m_ActiveBreakPoints.begin(); itr != m->m_ActiveBreakPoints.end(); ++itr)
|
||||
{
|
||||
if ((*itr)->m_UserLine == userLine && (*itr)->m_Filename == filename)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user