Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1623: Find ref. does not work on local symbols

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
Michal Puczynski Posted - Dec 06 2007 : 04:38:48 AM
When I press "Find references" selecting symbol defined locally in a method, then I am getting:

---------------------------
Visual Assist X
---------------------------
Please place the caret on a symbol before running Find References.
---------------------------
OK
---------------------------
12   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 17 2007 : 12:48:00 PM
On a related front, see here for details on the Microsoft patch:

http://blogs.msdn.com/vcblog/archive/2007/11/12/performance-improvements-in-visual-c.aspx

I don't know how it works, it refused to install on my main win2k test system.


Since you are seeing the crash so often can you please enable VA logging and then just use the IDE normally. If the IDE runs for an hour or two this will produce a fairly large log file, but hopefully it will offer some clues.

Please see this FAQ for details of turning on VA's logging, and sending us the log files

http://docs.wholetomato.com?W305
Michal Puczynski Posted - Dec 17 2007 : 08:11:29 AM
I did try (couple of times before). It helps for a short time, but after a while (hour or two) the problem comes back.
feline Posted - Dec 17 2007 : 07:19:39 AM
Thank you for the detailed report. A couple of other users are seeing a similar problem in VA 1623, 1624. We are currently trying to find the problem:

case=10534

Do you normally run more than one IDE at a time?

Can you try:

VA Options -> Performance -> Rebuild symbol databases

and then restart the IDE and see if this helps at all?
Michal Puczynski Posted - Dec 17 2007 : 05:44:51 AM
I just got deadlock in IDE. 100% CPU on main GUI thread. The thread stack is:

ntkrnlpa.exe!KiUnexpectedInterrupt+0x121
ntkrnlpa.exe!ZwYieldExecution+0x1c56
hal.dll!HalClearSoftwareInterrupt+0x342
win32k.sys+0xb56
ntdll.dll!KiFastSystemCallRet
win32k.sys+0x5a4a
win32k.sys!EngDeleteSurface+0x4014
win32k.sys!EngSetLastError+0x20ff
ntdll.dll!KiFastSystemCallRet
GDI32.dll!GetCurrentObject+0x34
USP10.dll!ScriptApplyDigitSubstitution+0x65dc
USP10.dll!ScriptApplyDigitSubstitution+0x698f
USP10.dll!ScriptApplyDigitSubstitution+0x6a34
USP10.dll!ScriptApplyDigitSubstitution+0x6c9c
USP10.dll!ScriptApplyDigitSubstitution+0x7a06
USP10.dll!ScriptStringAnalyse+0x237
LPK.DLL!LpkTabbedTextOut+0xa9f
LPK.DLL!LpkInitialize+0x2ca
LPK.DLL!LpkExtTextOut+0x29
GDI32.dll!DdEntry19+0x10b6
va_x.dll!UpdateDbgState+0xfaef

I got that several times since I installed 1623, usually during debug session, but now it was simple editing.
I pressed !m_ then symbol list appeared, scrolled down on another key "R" and locked permanently.
The common thing here is the bottom of stack.
Michal Puczynski Posted - Dec 17 2007 : 04:44:56 AM
First time I hear about it. What is the patch number? Is that a part of windows regular update or separate patch?

Anyway, my recent observation about IDE is the same, it is unstable. But my feeling was that it happened after change from 1619 to 1623. Could be that the same time I got patch from windows update.
feline Posted - Dec 07 2007 : 2:19:21 PM
Interesting, that is worth knowing about. Michal have you installed this patch?
gstelmack Posted - Dec 07 2007 : 2:03:25 PM
A side, possibly completely unrelated note: my IDE started hanging and getting unresponsive after installing the Intellisense hotfix Microsoft pushed out recently. I uninstalled and have been fine since. I did not dig to figure out if it was the hotfix, its interaction with Visual Assist, or what. And it may be completely unrelated, but wanted to add the data point.
Michal Puczynski Posted - Dec 07 2007 : 10:31:13 AM
No, it does not sound similar.
In my case I see no flashing, just immediate deadlock
(case with debug session) or problem getting appropriate
response to "find refs".

CPU is Core2Duo 2.4GHz
Antyvir is: Avira

sysinfo:
VA_X.dll file version 10.4.1623.0 built 2007.12.04
Licensed to:
VA X: _________ (12-user license) Support ends 2008.04.19
DevEnv.exe version 7.10.6030.0
msenv.dll version 7.10.6030.0
Font: Dina 11(Pixels)
Comctl32.dll version 5.82.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
F:\\Program Files\\Microsoft DirectX SDK\\Include;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include;
F:\\Program Files\\Microsoft SDK\\include;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
F:\\Program Files\\Prof-UIS\\Include;
F:\\Program Files\\Prof-UIS;
J:\\XObjects\\XUniReceiver;
J:\\S-Link;
J:\\S-Link\\BaseClasses;
J:\\XObjects;
J:\\XObjects\\XModule;
J:\\XObjects\\XCommon;

Other Includes:

Stable Source Directories:
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl;
F:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;

feline Posted - Dec 07 2007 : 08:04:37 AM
This reminds me of the problem being discussed here:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6762&whichpage=2

Does accord's description sound similar to what you are seeing?

So far I have not been able to reproduce what accord is seeing, and I have never seen what you are describing either.

How many CPU's does your machine have?
What anti-virus software are you using?
Do you have any other plugins installed?

I am searching for anything that might explain why I cannot reproduce the problem.

I have asked our developers about this, to see if they have any ideas:

case=10381
Michal Puczynski Posted - Dec 07 2007 : 06:31:00 AM
Maybe this will help. I was in debug session when IDE suddenly hanged:

Main thread:
ntdll!KiFastSystemCallRet
gdi32!NtGdiGetDCObject+0xc
gdi32!GetCurrentObject+0x65
WARNING: Stack unwind information not available. Following frames may be wrong.
VA_X!UpdateDbgState+0xff0a
usp10!ScriptTextOut+0x178
usp10!ScriptTextOut+0x178
usp10!DisplayItem+0x2e7
usp10!MultiPartStringOut+0x614
usp10!InternalStringOut+0x2e1
usp10!ScriptStringOut+0x80
lpk!InternalTextOut+0x19e
lpk!LpkExtTextOut+0x29
gdi32!ExtTextOutW+0x26a
VA_X!UpdateDbgState+0xfaef

Other thread that reported access violation, but the violation was not visible on screen:

eax=00003a3a ebx=3a3a3a3a ecx=0205fa6c edx=00000000 esi=00000001 edi=00000000
eip=019c78e8 esp=0205fa04 ebp=0205fa24 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
019c78e8 8b0a mov ecx,dword ptr [edx] ds:0023:00000000=????????

WARNING: Frame IP not in any known module. Following frames may be wrong.
0x19c78e8
0x19c4971
VA_X!MigrateDevColor+0x153987
VA_X!MigrateDevColor+0x153a86
VA_X!MigrateDevColor+0x14dc11
VA_X!MigrateDevColor+0x14dccb
VA_X!DllCanUnloadNow+0x1f8119
VA_X!DllCanUnloadNow+0x1f81c0
ntdll!LdrpInitializeThread+0xc0
ntdll!_LdrpInitialize+0x219
ntdll!KiUserApcDispatcher+0x7

All that happened after few code changes through refactoring on methods by changing last argument in method to a different type and name.

I believe it hanged when reached the breakpoint.
Michal Puczynski Posted - Dec 07 2007 : 05:17:14 AM
The situation was permanent until I pressed "reparse current file".

What I also found, is that stopping find references process by "stop" button, may cause hang of IDE when another "find..." is triggered.

I also managed to reproduce the first issue after clearing the database. I used refactor and changed method's signature. After that many symbols got red-underlined and the method I changed got unreachable by "find references".



The more I use refactoring the often IDE hangs after "find references".
feline Posted - Dec 06 2007 : 08:08:33 AM
Are you getting this problem all the time, or just occasionally?

Find References is working fine for me on local variables. You will get this error message if VA is not "caught up" yet. Find References used to fail silently, or was simply not offered (depending on how you triggered it), so we added the message so you would know it was not doing anything.

Mainly this happens when VA is still parsing the file or solution.

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