Author Topic: only goes to top of the correct file but not the actual declaration  (Read 4995 times)

Offline ooo7

  • Multiple posting newcomer
  • *
  • Posts: 14
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)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: only goes to top of the correct file but not the actual declaration
« Reply #1 on: February 01, 2011, 12:59:15 pm »
Version info please...

Also you could upgrade to one of the latest nightlies...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ooo7

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: only goes to top of the correct file but not the actual declaration
« Reply #2 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: only goes to top of the correct file but not the actual declaration
« Reply #3 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ooo7

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: only goes to top of the correct file but not the actual declaration
« Reply #4 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: only goes to top of the correct file but not the actual declaration
« Reply #5 on: February 01, 2011, 05:00:21 pm »
What tag files?
The CC info is stored in memory.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: only goes to top of the correct file but not the actual declaration
« Reply #6 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: only goes to top of the correct file but not the actual declaration
« Reply #7 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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7594
    • My Best Post
Re: only goes to top of the correct file but not the actual declaration
« Reply #8 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?
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ooo7

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: only goes to top of the correct file but not the actual declaration
« Reply #9 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: only goes to top of the correct file but not the actual declaration
« Reply #10 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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ