Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
debuggergdb frame #0 anonymous namespace bugfix
(1/1)
codeman:
I submitted this bugfix:
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3156&group_id=5358
Currently if you set a breakpoint inside a C++ function from an anonymous namespace, the regular expression wont accept the first line from gdb's backtrace, and codeblocks will then annoyingly switch to frame 1.
Ive changed the regular expression to fix that issue.
Here is a gdb backtrace that shows this problem:
#0 Foo::Bar::(anonymous namespace)::apply (this=0xbaf6cf0, stmt=0xb9d7160, stmtSubsts=...) at Foo/Bar/apply.cpp:219
#1 0x00000000004ef46b in clang::StmtVisitor<RIP::AST::TransformSet, void>::VisitExpr (this=0x7fffffff62a0, S=0xb9d7160) at Thirdparty/LLVM/SVN/include/clang/AST/StmtNodes.inc:63
#2 ...
oBFusCATed:
Can you test the debugger's branch?
oBFusCATed:
I've added #0 to the unit/regression test suite in the debugger's branch and the tests passed, so this is fixed in the debugger's branch.
Navigation
[0] Message Index
Go to full version