Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VS2010 crash after type 'main'

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
Sirit Posted - Dec 21 2011 : 11:27:50 AM
System info:
version 10.6.1859.0 built 2011.10.02
DevEnv.exe version 10.0.40219.1 Ultimate
msenv.dll version 10.0.40219.1
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86)

1.Open VisualStudio2010sp1;
2.build one empty win console project;
3.add main.cpp to proj
4.type main in main.cpp, then 2 options will prompt as:
main
mainret
5.select main ,then VS crash.
I did this several times, everytime the VS crash.

Sorry for my poor english.
6   L A T E S T    R E P L I E S    (Newest First)
Sirit Posted - Jan 12 2012 : 2:27:40 PM
I'm busy with Fortran now , using Compaq Visual Fortran 6.6C.

I will try VS and VA later...
feline Posted - Dec 30 2011 : 2:03:44 PM
Thank you for the new settings file. Looking at the old and new settings file, the new settings file contains Chinese characters, but no Chinese characters are showing in the old settings file.

So it looks like the crash may have been related to problems with paths.

I am glad you have managed to fix this problem. Are you getting listboxes when programming? Is VA working for you now?

If the crash comes back then a mini dump file would be helpful.
Sirit Posted - Dec 26 2011 : 08:58:07 AM
The crash did occure any more.
Because i changed the VS settings.
I changed 'VC++ directory' through the file 'Microsoft.Cpp.Win32.user.props' in the dir:C:\\Users\\Zhang\\AppData\\Local\\Microsoft\\MSBuild\\v4.0.
The original is:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludePath>E:\\OSG2012\\OpenSceneGraph-3.0.1\\include;$(IncludePath)</IncludePath>
<LibraryPath>E:\\OSG2012\\OSG301B\\lib;$(LibraryPath)</LibraryPath>
<ExecutablePath>E:\\OSG2012\\OSG301B\\bin;$(ExecutablePath)</ExecutablePath>
</PropertyGroup>
</Project>
Now the content is:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludePath>$(IncludePath)</IncludePath>
<LibraryPath>$(LibraryPath)</LibraryPath>
<ExecutablePath>$(ExecutablePath)</ExecutablePath>
</PropertyGroup>
</Project>

The dir :E:\\OSG2012 doesn't exists so I modified the file:'Microsoft.Cpp.Win32.user.props.

--------------
I found :
when I typed 'main' in VS now, it didn't prompt the two options:
main
mainret
it prompt nothing.
so the VS did crash anymore.

BTW, I sent the new VS settings and the old VS settings via contact.asp page.

sorry for my poor english.
feline Posted - Dec 23 2011 : 12:10:13 AM
Thank you for the sample project and the settings. Unfortunately I cannot reproduce the crash here, so its not as simple as the project or settings causing this problem.

Can you please reproduce the crash, and then capture a mini dump, and send me the dump file? This FAQ entry explains how to save out the mini dump:

http://docs.wholetomato.com?W303
Sirit Posted - Dec 21 2011 : 2:11:25 PM
I sent pack.zip via http://www.wholetomato.com/support/contact.asp

I closed the IDE after making this new project and adding "main.cpp", then load this test project, the IDE still crash!
I reboot the computer, did these again, still crash.
feline Posted - Dec 21 2011 : 12:11:21 PM
So far I cannot reproduce this crash. If you close the IDE after making this new project and adding "main.cpp", then load this test project, does the IDE still crash?

If so, can you please send me this test project, and your IDE and VA settings, in a zip file? I can then try the project and settings here, to see if I get the crash.

You can export you VA and IDE settings via:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

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.

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