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
 Can't jump to any function after goto
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

wesbigelow
New Member

9 Posts

Posted - Jun 22 2005 :  11:03:07 PM  Show Profile
We have some source of the form:

TRY
{
// do stuff here
bool testFailed = true;
if (testFailed) {
LEAVE;
}
}
FINALLY
{
// do cleanup or whatever here
}

where TRY, LEAVE, and FINALLY are defined as:
#define TRY ((void)0);
#define LEAVE goto finallylabel
#define FINALLY goto finallylabel; finallylabel:

The problem is that no functions show up in the Methods dropdown window after the first time these statements appear in the cpp file. Also the Alt+G Go command won't be able to jump to any function farther down in the file the first time these statements appear in the file either. If I move the function containing the TRY, LEAVE, FINALLY statements lower in the file, all the functions above the moved function show up in the Methods dropdown.

The bug occurs in 1416 and 1301 under VC6.

VA_X.dll file version 10.1.1301.0
Licensed to:
VA X:
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

Platform: Custom
Stable Includes:
C:\\Program Files\\Microsoft DirectX 9.0 SDK (Summer 2004)\\include;
C:\\Program Files\\Microsoft SDK\\include;
C:\\ORACLE\\ORA92\\OCI\\include;
P:\\dev\\h;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;


Thanks very much!

Wes Bigelow

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Jun 23 2005 :  5:48:26 PM  Show Profile
alt_m list not listing all of the functions:

case=676

in my tests alt_g is trying to go to the correct function, but it is ending up in the wrong place:

case=677

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