Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1638: definition field & find references

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
schoenherr Posted - May 22 2008 : 05:07:30 AM
at least in vc6 the content of the definition field remains empty during run time of "find references" regardless where I place the cursor.
6   L A T E S T    R E P L I E S    (Newest First)
schoenherr Posted - May 23 2008 : 10:16:37 AM
@feline:
at least the IDE manages to change the caret position. if i place the caret on an empty line the definition field correctly switches to display the current file name. so i suspect, that the IDE itself performs correctly.
feline Posted - May 23 2008 : 09:52:46 AM
I have put in a bug report to see what our developers make of this:

case=16982

It is possible the problem lies partly in the IDE its self, due to the CPU load. If we are relying on the IDE to tell us the caret has moved, and it is not managing to do so, I am not sure what we can do in VA.
schoenherr Posted - May 23 2008 : 12:39:09 AM
I've done some tests:
the cpu usage goes up to 50 percent which can be interpreted as 100 percent as I'm using a dual core machine
we have some macros which are used in nearly every cpp in our workspace and so I can reach easyly runtimes up to a few minutes for the "find references" command. during this time the effect is 100 percent reproduceble even in the original cpp file.
accord Posted - May 22 2008 : 7:45:26 PM
I have done some test.
I started a longer find references, and if I staying in the same header file or it's cpp pair, the fields are okay.

But when I switch to a different file, it is always broken for me.

Sorry about "by design" , but I thought that additional parsing is disabled while a find references is running.
feline Posted - May 22 2008 : 4:36:30 PM
Can you try running a CPU monitor please, and see what the CPU usage is like?

I have a rather large test project (8891 files) and I have tried some tests with this. For one Find References search the CPU usage hovers around 50%, and the context and definition fields update quite happily while the find is running.

For a second search the CPU usage jumps to 100%, and the context and definition fields update somewhat randomly. Sometimes they will update, and sometimes they will not.

I have checked both VS2005 and VC6. It looks like this is simply down to the CPU being flat out, and there not being much time left over for anything else.
accord Posted - May 22 2008 : 06:23:06 AM
The behavior also presents in later Visual Studios also, and introduced about 2 generations ago. I think it is by design, but Feline may correct me

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