Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Function-level try/catch blocks and 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
jdwiswall Posted - Feb 24 2016 : 1:32:36 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Feb 24 2016 : 6:34:36 PM
I am seeing the same effect here. Thank you for the sample code.

case=1867

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