Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 ALT+G for other source files

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
xMRi Posted - Dec 23 2010 : 02:29:56 AM
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.
11   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 24 2011 : 12:19:10 PM
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.
xMRi Posted - Jan 13 2011 : 04:23:04 AM
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
xMRi Posted - Jan 11 2011 : 10:32:36 AM
Just sent a link to a crash dump.
feline Posted - Jan 07 2011 : 11:57:31 AM
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.
xMRi Posted - Jan 07 2011 : 01:36:31 AM
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.
accord Posted - Jan 06 2011 : 4:03:03 PM
Hard to tell, but a crash can indeed lead to database corruption. Do you get a crash on every VS exit?
xMRi Posted - Jan 05 2011 : 05:01:03 AM
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?
feline Posted - Jan 03 2011 : 4:14:55 PM
I am glad the problem is now fixed for you, and I hope it stays fixed.
xMRi Posted - Jan 03 2011 : 04:54:20 AM
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.
feline Posted - Dec 23 2010 : 1:02:11 PM
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?
accord Posted - Dec 23 2010 : 1:01:45 PM
>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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000