forked from qt-creator/qt-creator
CDB: fix breakpoint location in catch clauses.
Task-number: QTCREATORBUG-7336 Change-Id: I926e82499325e4fe38e25cc7a6158050f7fc0e82 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
cdbbf37743
commit
a8a49c9851
@@ -212,6 +212,7 @@ bool FindCdbBreakpoint::visit(SwitchStatementAST *ast)
|
||||
bool FindCdbBreakpoint::visit(TryBlockStatementAST *ast)
|
||||
{
|
||||
accept(ast->statement);
|
||||
accept(ast->catch_clause_list);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user