wesbigelow
New Member
9 Posts |
Posted - Jun 22 2005 : 11:03:07 PM
|
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
|
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 |
|
|