Author |
Topic |
|
deepv
New Member
7 Posts |
Posted - Aug 31 2004 : 10:45:19 AM
|
I'm using the current environment (although it doesn't concern my problem):
VA_X.dll file version 10.0.1246.0 MSDev.exe version 6.0.8168.2 WindowsNT 5.1 Build 2600 Service Pack 1 Platform: Win32 (x86)
More important is the directory structure which has the a main directory, under which all general files reside, like .dsp, stdafx etc. Inside this directory two subdirs reside: inc (for .h files), & src (for .cpp files).
When browsing .cpp file and pressing the .cpp/.h button, the corresponding .h file is opened, but the other way (.h to .cpp) does not work. |
|
support
Whole Tomato Software
5566 Posts |
Posted - Aug 31 2004 : 2:31:37 PM
|
We are unable to reproduce the problem.
Are both the header and cpp part of your project?
Have you renamed/moved files since last opening of your project?
Do you have multiple files with the same basename of your cpp? |
|
|
deepv
New Member
7 Posts |
Posted - Sep 01 2004 : 05:32:44 AM
|
I'm dealing with a very large workspace, which includes about 30 projects. In the first projects the switch from h to cpp and vise versa works, but it doesn't seem to work in the last projects. It seems like the algorithm performes a pre-mapping of h to cpp, but it lacks memory to map all files. Am I correct? |
|
|
schoenherr
Tomato Guru
Germany
160 Posts |
Posted - Sep 01 2004 : 06:48:46 AM
|
deepv: i don't beleave there is a lack of memory, causing your problem. we have a workspace with about 110 projects with a realy huge amount of source files and we have no such problems |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Sep 01 2004 : 3:15:36 PM
|
Are both source and headers (of the files that do not find corresponding) in your projects? This is usually a problem with VA not being able to determine the correct include/source paths. |
|
|
deepv
New Member
7 Posts |
Posted - Sep 02 2004 : 03:30:13 AM
|
Yes. All h and cpp are part of the project. How can I (the user) afect VA include pathes? What could have gone wrong? Any suggestions how to fix it? |
|
|
deepv
New Member
7 Posts |
Posted - Sep 02 2004 : 04:56:29 AM
|
Just to remind: cpp to h works fine. Everytime. It's pitty the h to cpp algorithm is not symmetric. |
|
|
feline
Whole Tomato Software
United Kingdom
19025 Posts |
Posted - Sep 06 2004 : 2:30:19 PM
|
using a very small C++ project in .NET 2003 i create two subdirectories, "source" and "include"
grabbing a .cpp and matching .h file from a different project, i put the .cpp file into the source directory, and the .h into the include directory.
i then added both of these to the project, opened the .cpp file via solution explorer, and used alt_o to swap to the .h file. VAX found and opened the .h file just fine.
pressing alt_o again opened the .cpp file in a new window, so i now have two copies of this file open. other than this oddity alt_o is swapping back and forward fine for me.
deepv, are you able to reproduce this in a small test project? |
zen is the art of being at one with the two'ness |
|
|
deepv
New Member
7 Posts |
Posted - Sep 07 2004 : 10:54:59 AM
|
Can't reproduce this in a small test project. And that's the problem: something in our big workspace caused it (about 6000 files) |
|
|
feline
Whole Tomato Software
United Kingdom
19025 Posts |
Posted - Sep 07 2004 : 6:28:52 PM
|
i have seen something quite similar in a big project myself, but that was several builds of VAX ago. i am sure you can understand that impossible to reproduce bugs can be hard to pin down *sigh* |
zen is the art of being at one with the two'ness |
|
|
deepv
New Member
7 Posts |
Posted - Sep 08 2004 : 11:18:23 AM
|
I wrote before that cpp to h works fine. Why doesn't the other way works? Maybe it's better for you to implement both directions with the same algorithm. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Sep 20 2004 : 6:47:49 PM
|
deepv: We rewrote the algorithms that search for implementations. The updated algorithms will be part of a beta available soon. Send your license info to [email protected] and we will add you to the beta list. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Oct 04 2004 : 3:33:20 PM
|
Build 1272+ is much better at finding implementations. |
|
|
|
Topic |
|