Debugger: Make CDB compile again.

This commit is contained in:
Friedemann Kleint
2010-11-15 15:24:27 +01:00
parent 4d1cd647b4
commit 30d6ae0e3d
9 changed files with 203 additions and 114 deletions

View File

@@ -364,11 +364,13 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
addBreakpoint();
else if (act == breakAtThrowAction) {
BreakpointData data;
data.setType(BreakpointByFunction);
data.setFunctionName(BreakpointData::throwFunction);
handler->appendBreakpoint(data);
} else if (act == breakAtCatchAction) {
// FIXME: Use the proper breakpoint type instead.
BreakpointData data;
data.setType(BreakpointByFunction);
data.setFunctionName(BreakpointData::catchFunction);
handler->appendBreakpoint(data);
}