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
 1422 + VC6 hang on std::string members
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SvenC
Tomato Guru

Germany
339 Posts

Posted - Sep 12 2005 :  05:32:30 AM  Show Profile
Hi,

a simple thing like...

#include <string>
#inluude <iostream>

int main(int argc, char **argv)
{
std::string s;
s. // ... hangs after typing the dot
}

The CPU usage is at 100% for msdev.exe

HTH,
SvenC

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 12 2005 :  4:38:00 PM  Show Profile
using VC6 and VA 1422 i added a new cpp file to an existing C++ project. i then typed the following code into the file:

#include <string>
#include <iostream>

int main(int argc, char **argv)
{
    std::string s;
    s.length();
}


there were a couple of blank lines at the top of the file, but that should not matter. there was a slight delay after typing the dot, and no listbox appeared, but that was all. i pressed CTRL-SPACE and a list box instantly appeared. escape the list box and press CTRL-SPACE again, again the listbox appears just fine.

removing the function call and retyping the "s." bit for perhaps a second the caret stops flashing after typing the dot, but that is all. there is no CPU usage spike (i am running a CPU meter so i can watch for this), there is no burst of hard disk activity.

has VA finished parsing? any other plugins installed? have you tried rebuilding your symbol databases? does this happen in a new basic project? are you able to get a call stack of the hung msdev.exe?

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

SvenC
Tomato Guru

Germany
339 Posts

Posted - Sep 13 2005 :  04:23:54 AM  Show Profile
Hmm - yesterday I had this effect in both a production project and my little test project and went back to 1481. I reinstalled 1422 and now I cannot reproduce it in either project. I'll keep an eye on...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 13 2005 :  2:46:44 PM  Show Profile
it is good news that the problem has gone away. still, i dislike random problems like that on principle.

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