Code::Blocks Forums

User forums => Help => Topic started by: ooo7 on February 01, 2011, 10:56:42 am

Title: only goes to top of the correct file but not the actual declaration
Post by: ooo7 on February 01, 2011, 10:56:42 am
Hi,

the project I am working on has couple of huge .cpp files (ASN.1). When I instruct C::B (right click and select) to find declaration which are in this files, it only goes to the top of this file rather than going into the actual declaration.

is this a known bug, or do I have to update the tag files to get this working.


please help.
Kind regards
ooo7 8)
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: oBFusCATed on February 01, 2011, 12:59:15 pm
Version info please...

Also you could upgrade to one of the latest nightlies...
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: ooo7 on February 01, 2011, 01:06:30 pm
Hi,

I am using svn 6940. I used the latest night build and it is showing same issue. my .cpp file has 80k+ lines (ASN).

so what other information you require to help me out.
thanks
ooo7
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: MortenMacFly on February 01, 2011, 04:45:31 pm
so what other information you require to help me out.
A sample file would be helpful. It seems you are the first person with such an issue.
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: ooo7 on February 01, 2011, 04:54:37 pm

as you may understand I cannot do that. now could you please let me k now whether i can rebuild all the tag files.

regards
0007
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: oBFusCATed on February 01, 2011, 05:00:21 pm
What tag files?
The CC info is stored in memory.
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: Jenna on February 01, 2011, 05:01:22 pm
You can try to create a sample project (maybe with the wizard) or a sample file where that happens and attach the whole project (or the file) here.
There are no tags files that can be recreated.
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: MortenMacFly on February 01, 2011, 05:33:07 pm
You can try to create a sample project (maybe with the wizard) or a sample file [...]
Notice that these must not be from your project, possibly you can create such a huge file with dummy values. I have no idea what ASN is though... Any information on that topic?
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: stahta01 on February 01, 2011, 07:47:43 pm
I have no idea what ASN is though... Any information on that topic?

I would guess this http://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One
Did you confirm this is inside an C/C++ file?
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: ooo7 on February 02, 2011, 10:11:04 am
Hi,

yes this is in C++. any suggestions to try.

this is fully working even in VC++ 6. so may be a bug in C::B

thanks for looking into this.
regards
OOO7
Title: Re: only goes to top of the correct file but not the actual declaration
Post by: MortenMacFly on February 02, 2011, 02:19:24 pm
thanks for looking into this.
As long as we cannot reproduce how could we look into it?
We really need some help here as this is really special. No chance that you can provide a dummy sample file at all?