Commit 8d587fa8 authored by David Schulz's avatar David Schulz
Browse files

Debugger: Allow breakpoints inside lambdas.

When the cdbengine is using the codemodel breakpoint correction.

Change-Id: I70efa3119ca36b4ffd658425132f3fdff3d3eecf
Reviewed-by: default avatarErik Verbruggen <>
parent 4a48bcbf
...@@ -128,8 +128,11 @@ bool FindCdbBreakpoint::visit(DoStatementAST *ast) ...@@ -128,8 +128,11 @@ bool FindCdbBreakpoint::visit(DoStatementAST *ast)
bool FindCdbBreakpoint::visit(ExpressionStatementAST *ast) bool FindCdbBreakpoint::visit(ExpressionStatementAST *ast)
{ {
if (ast->expression) if (ast->expression) {
foundLine(ast->semicolon_token); accept(ast->expression);
if (m_breakpointLine == NO_LINE_FOUND)
return false; return false;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment