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
 BugReport:C++ catch clause displayed in VA outline
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ylss
Starting Member

1 Posts

Posted - Aug 09 2012 :  11:02:38 PM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
17108 Posts

Posted - Aug 10 2012 :  10:57:52 AM  Show Profile  Reply with Quote
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

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