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
 Function-level try/catch blocks and VA Outline
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jdwiswall
New Member

5 Posts

Posted - Feb 24 2016 :  1:32:36 PM  Show Profile  Reply with Quote
1. Create a new C++ file
2. Add text:
int boop = 0;
void foo() try {
} catch (...) {
    boop++;
}

VA Outline

Expected:
- shows just "boop" and "foo" top level symbols

Actual:
- shows "boop" and "foo() try" and "catch(...)" top-level symbols

Search for references to "boop"

Expected:
- Finds the global definition
- Finds the 'boop++' in the 'foo' function

Actual:
- Finds the global definition
- Finds the 'boop++' in a 'catch' block (right line number, though)



Version info
VA_X.dll file version 10.9.2089.0 built 2016.02.01
DevEnv.exe version 14.0.24720.0 Enterprise
msenv.dll version 14.0.24720.0

My posts do not reflect the position of my employer, Microsoft.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 24 2016 :  6:34:36 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the sample code.

case=1867
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