Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 BugReport:C++ catch clause displayed in VA outline

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
ylss Posted - Aug 09 2012 : 11:02:38 PM
VAX 1906 has the following bug: Appeared on Visual Studio 2010 SP1, Windows XP 32bit Professional.

How to repeat:

Create an empty C++ souce file and write the following function(it is valid for no compile error):

bool function(int) try
{
// ...
return true;
}
catch (const std::exception& e)
{
//...
return false;
}
catch (...)
{
return false;
}

The "catch (...)" line is considered as a function by VA outline, and is displayed as a normal function. Moreover, if there are many catch clauses, all the "catch"es are treated as function!

Please fix it, thanks.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 10 2012 : 10:57:52 AM
I am seeing the same effect here. Thank you for the clear description. This is a known bug, and it is one we are looking to fix in due course:

case=1867

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