[cfe-dev] Debugging RecursiveASTVisitor

Alexandros Tzannes atzannes at illinois.edu
Mon Aug 12 20:20:29 PDT 2013


Hi all,
I am trying to debug a strange behavior of the RecursiveASTVisiror, and 
trying to use gdb with the Debug+Assert binary of clang++. 
Unfortunately, because so much of the code of RecursiveASTVisitor is 
macro-expanded and because the debug symbols are trying to relate to the 
"non-expanded" code navigating an execution with gdb is pretty useless.

Has anyone encountered this issue in the past and has any advice on how 
to debug RecursiveASTVisitor?

Cheers!
Alex



More information about the cfe-dev mailing list