debugger: add a few more asserts

This commit is contained in:
hjk
2010-11-30 10:00:33 +01:00
parent cf154b3bc3
commit 8a2e21eb60
2 changed files with 11 additions and 14 deletions

View File

@@ -1237,18 +1237,24 @@ void DebuggerEngine::attemptBreakpointSynchronization()
d->m_disassemblerViewAgent.updateBreakpointMarkers();
}
void DebuggerEngine::insertBreakpoint(BreakpointId)
void DebuggerEngine::insertBreakpoint(BreakpointId id)
{
BreakpointState state = breakHandler()->state(id);
QTC_ASSERT(state == BreakpointInsertRequested, qDebug() << state);
QTC_ASSERT(false, /**/);
}
void DebuggerEngine::removeBreakpoint(BreakpointId)
void DebuggerEngine::removeBreakpoint(BreakpointId id)
{
BreakpointState state = breakHandler()->state(id);
QTC_ASSERT(state == BreakpointRemoveRequested, qDebug() << state);
QTC_ASSERT(false, /**/);
}
void DebuggerEngine::changeBreakpoint(BreakpointId)
void DebuggerEngine::changeBreakpoint(BreakpointId id)
{
BreakpointState state = breakHandler()->state(id);
QTC_ASSERT(state == BreakpointChangeRequested, qDebug() << state);
QTC_ASSERT(false, /**/);
}