Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 ALT+G for other source files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Dec 23 2010 :  02:29:56 AM  Show Profile  Reply with Quote
Hi!

I have a project with standard header and source files.
I have 2 different directories:
c:\\LibX\\Include (containing headers)
c:\\LibX\\Source (containing library code)

Both are not part of the project itself. They are compiled by a separate project LibX.
In the projects them self they are includes via the compiler settings for other include file path and a linker library.

Because they are part of nearly every other project I added the files to the "Other Source Files" in VAX.

Pressing ALT+G for a function in the lib moves me to the header location. OK!
But pressing ALT+G again doesn't move me to the source.

Why?

Or give me a hint how to move to the sources of my lib.

PS: I just remember that I got it working in some way.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 23 2010 :  1:01:45 PM  Show Profile  Reply with Quote
>Because they are part of nearly every other project I added
>the files to the "Other Source Files" in VAX.

Have you added the c:\\LibX\\Source directory as well?
If yes, you should be seeing the files from this directory, in the "Open files in Solution" dialog (alt+shift+o) Do you see these files?

Alternatively (should not use both), you can turn on the following option:
VA Options -> File handling -> if Solution is not empty
In this case, VA will parse all other files in the same dir. when you open a file.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Dec 23 2010 :  1:02:11 PM  Show Profile  Reply with Quote
Have you added both the Include and Source directories to "Other Source Files"? I assume both, but worth checking just to be sure.

Are the .cpp files in the Source directory, or are they in sub-directories within Source?

Are the source files using a standard, known file extension?

zen is the art of being at one with the two'ness
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 03 2011 :  04:54:20 AM  Show Profile  Reply with Quote
Strange. I cant repro it now.

I changed the pathes again and I added both lib pathes to "Other include files". Maybe before I just used "Stable include" files for the header.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 03 2011 :  4:14:55 PM  Show Profile  Reply with Quote
I am glad the problem is now fixed for you, and I hope it stays fixed.

zen is the art of being at one with the two'ness
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 05 2011 :  05:01:03 AM  Show Profile  Reply with Quote
The problem just reoccured.
Nothing changed in the VAX settings.
I fixed it with a Rebuild of the symbol databases and restarting VS.

What may be the reason?
May a crash of VS leave the DB corrupted?

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 06 2011 :  4:03:03 PM  Show Profile  Reply with Quote
Hard to tell, but a crash can indeed lead to database corruption. Do you get a crash on every VS exit?
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 07 2011 :  01:36:31 AM  Show Profile  Reply with Quote
No it never crashes when I exit.
In the past weeks I usually get a crash when I navigate though the source. Especially when navigating away with the cursor up/down keys from an incomplete statement (syntactical wrong/incomplete). I can not repro this and I can not say if VAX or VS-2010 is the reason.
It is somehow annoying.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 07 2011 :  11:57:31 AM  Show Profile  Reply with Quote
Can you please try to grab a mini dump next time the IDE crashes? If so, can you please send it to us, and we can see if VA seems to be a factor here.

Do you have any other IDE plugins / extensions installed?

I don't know if the crash is related to the alt-g problem or not, but if the crash is a VA problem then we need to look into it.

This FAQ offers some information on grabbing / saving out mini dump files:

http://docs.wholetomato.com?W303

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

zen is the art of being at one with the two'ness
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 11 2011 :  10:32:36 AM  Show Profile  Reply with Quote
Just sent a link to a crash dump.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 13 2011 :  04:23:04 AM  Show Profile  Reply with Quote
Just a tip:
You can setup a local machine Windows Vista and Windows 7 to save always a crash dumps. Might be helpful for dvelopment.

All you need are some settings in the WER of Windows.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps]
"DumpType"=dword:00000001
"DumpCount"=dword:00000010
"DumpFolder"=hex(2):25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,\  00,41,00,54,00,41,00,25,00,5c,00,43,00,72,00,61,00,73,00,68,00,44,00,75,00,\  6d,00,70,00,73,00,00,00


DumpFolder simply contains the text: %LOCALAPPDATA%\\CrashDumps

It is documented here:
Collecting User-Mode Dumps
http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

Edited by - xMRi on Jan 13 2011 04:36:39 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 24 2011 :  12:19:10 PM  Show Profile  Reply with Quote
I was not aware of this, thank you for the information. I have added it to the FAQ on collecting a mini dump, in case it is of use to anyone.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000