debugger: fix breakpoint cleanup to allow subsequent runs

Reviewed-by: Friedemann Kleint
This commit is contained in:
hjk
2010-10-05 16:05:47 +02:00
parent c848f7fdea
commit d0848ee29a
3 changed files with 23 additions and 1 deletions

View File

@@ -742,7 +742,8 @@ void BreakHandler::storeToTemplate(BreakHandler *other)
{
QTC_ASSERT(m_bp,/**/);
foreach (BreakpointData *data, *m_bp) {
data->m_handler = other;
data->m_handler = other;
data->clear();
}
m_bp = 0;