code usage highlight bug
Manuel Breugelmans
mbr.nxi at gmail.com
Sat Aug 23 11:22:06 UTC 2008
On Saturday 23 August 2008 13:06:41 Marek Jasovsky wrote:
> During debugging and study I found following bug, please confirm
>
> I opened parser.cpp in kde4
> line: 4592
> ThrowExpressionAST *ast = CreateNode<ThrowExpressionAST>(session->mempool);
> ast->throw_token = pos; //4593
> //4594
> parseAssignmentExpression(ast->expression); //4595
>
> when I move cursor over *ast element on line 4592, also ast-> gets
> highlighted with yellow background. (how is this yellow highlight
> called and where is it implemented?)
> however when I move mouse over ast-> on line 4593 ast gets not
> highlighted, moving mouse over ast-> on line 4595 again highlights all
> usages on all 3 lines.
>
> it should be able to reproduce this using description above.
>
> Marek
>
> I wanted to get confirmation, before sending this to bug.kde.org
>
> thx
It would be good to have a minimal case that exposes this. There are 3 useful
toolviews to help you in debugging this kind of things:
1/ Context Browser
2/ DUChain Viewer
3/ Problem Reporter
They show a lot about the code model's internals.
Manuel
More information about the KDevelop-devel
mailing list