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
 Feature Requests
 detecting corrupt symbol database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

eve
Tomato Guru

Belgium
101 Posts

Posted - Nov 16 2006 :  04:36:09 AM  Show Profile  Reply with Quote
Hi,

I killed VAX while it was parsing. I realize that this is not the smartest thing to do, but I assumed the IDE was hanging (the status bar just said 'Ready').
The result of this violent act was that I could no longer start the project: during the next parse of VAX, the ide would start taking tons of memory, forcing me to kill it again as fast as possible.

So I wonder if it is possible that VAX would somehow detect that the previous parse was interrupted and that its database might be corrupt, or at least warn me that strange thins might happen.

thanks,
eli

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 16 2006 :  08:11:28 AM  Show Profile  Reply with Quote
Normally closing the IDE while VA is parsing should be fine, I have done this quite often myself. I believe some efforts are under way to detect a corrupt database.

I am more concerned about what prompted you to kill the IDE to begin with. Which IDE and language are you using?
VS2005 with a large C++ project can appear to hang on its own, without VA installed, due to the IDE's intellisense parser.

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

eve
Tomato Guru

Belgium
101 Posts

Posted - Nov 16 2006 :  08:29:25 AM  Show Profile  Reply with Quote
vs2005, C++
But I disabled the intellisense, so I don't think the problem comes from there.

Maybe I should give you the full explanation about what made me kill the IDE:
- I pressed the rebuild and clear buttons in the VAX performance options dialog, but did not yet restart the IDE
- from outside the IDE, I re-created the vcproj file. If you do that and enter the IDE again, then it reloads the solution by doing some internal startup.
- This restart took rather long, so I killed the IDE

I assume that the restart took so long because VAX was rebuilding the symbol database, although I cannot prove that.
What happened next was that during the parse of a large header, VAX went in some endless allocation loop that consumed all my memory (2 Gigs) in about 5 seconds. I just had enough time to kill the IDE again :-).

Anyway, I realize that this a bit of an exotic situation. But maybe it is possible to avoid going in an endless allocation loop?
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Nov 16 2006 :  10:35:50 AM  Show Profile  Reply with Quote
When you're not running the IDE, delete the IDE-specific subdirectory in the VA X installation directory if you ever want VA X to forget everything it knows about symbols and reparse everything.
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Nov 16 2006 :  10:39:21 AM  Show Profile  Reply with Quote
Thanks, I'll remember that.
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