code usage highlight bug

Marek Jasovsky jasovsky.marek at gmail.com
Sat Aug 23 11:45:49 UTC 2008


2008/8/23, Manuel Breugelmans <mbr.nxi at gmail.com>:
> 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

what do you call a case? above I have provided quite detailed
description how to reproduce.

> useful
> toolviews to help you in debugging this kind of things:
> 1/ Context Browser
> 2/ DUChain Viewer

I do not see DUChain Viewer toolbox in my install (kde4)

> 3/ Problem Reporter
>
> They show a lot about the code model's internals.
>
>
> Manuel
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>




More information about the KDevelop-devel mailing list