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
 Small problem with Disabling VAssist
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mnd
Senior Member

42 Posts

Posted - Feb 22 2006 :  07:23:33 AM  Show Profile  Reply with Quote
Hello,

I'm using the latest build of Visual Assist on Visual Studio 2003 (English).
If I Disable visual assist from the VAssistX -> Enable/Disable menu item, I sill have sources parsed from VAssist, in the status bar I can see the list of file being parsed and I can see the cpu spinning using Process Explorer. To completely disable the Parsing I've to unload the addin trough the visual studio addin manager and restart the IDE.


Do you have any idea on that?


Kindest Regards,

- mn




VA_X.dll file version 10.2.1440.0 built 2006.01.17
Licensed to:
VA X: [email protected] (1-user license) Support ends 2007.01.13
VA.NET 7.1:
VAOpsWin.dll version 1.3.2.0
VATE.dll version 1.0.4.12
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: ProFontWindows 15(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 visual studio .net 2003\\vc7\\include;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\include;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include\\prerelease;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include;
c:\\program files\\microsoft visual studio .net 2003\\sdk\\v1.1\\include;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\includes;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\architecture;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\cjk;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\colormgmt;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\graphics;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\incopy;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\interactive;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\interactive\\ui;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\layout;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\tables;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\text;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\ui;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\utils;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\workgroup;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\interfaces\\xmedia;
C:\\build\\main103\\src\\contrib\\Adobe\\InDesign\\ID-4.0\\source\\public\\widgets\\includes;
C:\\build\\main103\\src\\contrib\\jace\\1.1\\release\\include;

Library Includes:
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\mfc;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\atl;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\crt\\src;

Other Includes:

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Feb 22 2006 :  3:00:35 PM  Show Profile  Reply with Quote
why is this a problem? if you ever want to re-enable VA then it needs to have parsed your code.

zen is the art of being at one with the two'ness
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Feb 22 2006 :  8:15:09 PM  Show Profile  Reply with Quote
You're kidding, right? If I disable an add-in, I expect it to perform no work and consume no resources. Otherwise, it is not really disabled, is it?

Joe Pizzi
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 22 2006 :  10:53:11 PM  Show Profile  Reply with Quote
Disable might be too strong a word. The command really asks VA X to stop intercepting commands and the let normal UI appear for a while. VA X still does some work in the background.

The only way to make an add-in, VA X included, completely idle is to unload it via the IDE.
Go to Top of Page

mnd
Senior Member

42 Posts

Posted - Feb 23 2006 :  03:18:13 AM  Show Profile  Reply with Quote
Since I still have parsing problem (cpu spinning to 10%% for one minute) with another library (http://sourceforge.net/projects/jace/) it would be wonderful if I can disable parsing without restarting the ide. Why don't add that option maybe available trough the object model so we can write our own macros that enable / disable the parsing based on the file we are opening.

That's one of the reasons I was asking some time ago to have VAssist skip some include folders...

Thanks for you help.

- mn

P.S.

The jace library is a library tha let you access to java objects trough JNI.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Feb 23 2006 :  3:36:52 PM  Show Profile  Reply with Quote
jpizzi experience suggests that VA's disable menu option does not totally disable it, which makes sense in the light of supports comments. i am coming from the point of view of "why install VA if you do not want it do things", hence my question.

mnd, i believe from previous comments by support that there is no way to call VA's parsing engine or to interact with it. can you tell me where to find, or how to produce a small test project that reproduces the CPU spin problem? i am working on the theory that the best way forward here is to fix the parsing problem so that you can just keep VA enabled all the time.

zen is the art of being at one with the two'ness
Go to Top of Page

mnd
Senior Member

42 Posts

Posted - Feb 23 2006 :  4:03:09 PM  Show Profile  Reply with Quote
Hi,

I do agree with you that fixing the problem would be the best solution but I know too well that it may take a lot of time.
I do have a solution with 54 projects and now only one of them is causing me such problems, so I want VA to be disabled (as a temporary solution) only for the files belonging to that project.

However I'll try to create a small test project but it will take some time because right now we have tight deadlines and I don't have time to create it (at least for another week).

Many thanks,

- mn
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Feb 23 2006 :  4:09:22 PM  Show Profile  Reply with Quote
thats fair. i will ask support about excluding a single project since i don't know of any reliable method.

as a work around is the code for this project in a single directory, or set of directories? if so you could try adding it to the stable include directories list. this should at least cut down on VA reparsing the code. it does reparse the stable includes now and then, but only every week, or every few weeks.

zen is the art of being at one with the two'ness
Go to Top of Page

mnd
Senior Member

42 Posts

Posted - Feb 23 2006 :  4:32:22 PM  Show Profile  Reply with Quote
Thanks for your support!

The project is composed by a set of categories, I'll try adding them to the stable include directories and I'll let you know the results.

Kindest regards,

- mn
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000