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
 VAX 15xx: resume
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 30 2006 :  1:04:51 PM  Show Profile  Reply with Quote
I am having more troubles than ever before with the 15xx builds. Many little details that worked already, do not anymore, or simply work sometimes, or differently.

I already had to disable VAX under VS2005/C# because it would interfere with intellisense and the way i am used to work with VAX installed.

Memory usage is incredible (300mb+), just like disk usage. Although "keep symbols in memory" is enabled, after switching between VS2003 and VS2005, which i use simultanously, often it takes 15 and more seconds for the IDE to become reactive while it rattles on the disk.
Even with VAX disabled, it doesnt stop to parse files and consume memory and disk time.

Suggestions are more often wrong than not, suggestions in listboxes are not selected sometimes, inserting of closing brackets works most of the times, etc. etc.

Waiting for the suggestion/completion lists can be a patience test, typing and hoping it would select the right thing in the list is vain.

thruska
Ketchup Master

71 Posts

Posted - Aug 30 2006 :  1:16:11 PM  Show Profile  Reply with Quote
Well, devenv.exe (VS2003) uses a good 50MB without any help from VAX (VS2005 uses a bit more than that). With VAX enabled on my system, it is only 75MB with a fairly hefty project. Frankly, I don't care if any given piece of software uses 500MB RAM as long as it only needs that much for a short time.

Each project in your solution uses more RAM. How many projects do you have? I've only got two or three in my solution files (depending on what I'm working on at the moment).

Thomas Hruska
CubicleSoft President
http://www.cubiclesoft.com/
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 30 2006 :  2:30:38 PM  Show Profile  Reply with Quote
I see an increase of 230Mb when VAX is loaded under vs2005. Having quite some projects in my workspaces, like 10-15 projects, VS2003 uses about 120 Mb without VAX and C++ projects, VS2005 uses about 80 Mb without VAX and C# projects. On both platforms i see an increase of 300-400% with VAX. If it would then be fast and responsive, I would not complain, but its not.
Go to Top of Page

thruska
Ketchup Master

71 Posts

Posted - Aug 30 2006 :  5:03:10 PM  Show Profile  Reply with Quote
Can you eliminate some of those projects or split one of the solution files into two solutions to reduce the number of projects? 15 projects is a lot. Sure VS can handle it, but VAX may simply not be suited to handle that many.

Thomas Hruska
CubicleSoft President
http://www.cubiclesoft.com/
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 30 2006 :  5:23:55 PM  Show Profile  Reply with Quote
Are we at the point where the task adapts to the tool? No, sorry, solutions are as they are, made up of many projects that are part of the same solution.
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Sep 01 2006 :  4:46:50 PM  Show Profile  Reply with Quote
This morning I've installed 1533 eval and now 12hours later I'm so fed up. alt-g was never broke like this. If it actually does jump it jumps most the time like 10+ lines of, if it doesn't jump ctrl-tab, ctrl-tab, alt-g usually does the job, still far from where it should jump. e.g. im using WTL and VAX thinks cool he's using MFC, lets guide him there. I havent used MFC aka "Most ****ed Classes" (tm) for ages.

And my all-time favorite curly brackets... now even a ctrl-z doesnt work because the inserted code simply gets completely removed. Well makes sense in a way but wtf its call VISUAL assist x not "drive me nuts X" (tm). Make it an autotext entry damn it or an option to use old behaviour!

Next thing, am I the only one whose watch-window does flicker like hell when debugging GUI apps? I've attached a second vs instance to fetch call stack of IDE and guess what... right VAX in callstack. This causes VS to eat 100% and prevents editor window and some others from redrawing. But then there must be a reason for multi core cpus:)

pretty annoyed
-bugfix

VS2k3 SP1, C++, templates loads of templates

http://www.mf-sd.de
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 01 2006 :  5:55:40 PM  Show Profile  Reply with Quote
In 1533 you can specify the autobrace style using the registry (before you start the IDE).
HKCU\\Software\\Whole Tomato\\Visual Assist X\\[ide]\value name: BraceAutoInsertStyle
values:
1: {} - no newline at all
2: {\\n} - this is the old VA style
3: {\\n\\t\\n} - (the current default)

These are only effective when pressing '{' on a line that is either blank or only has whitespace.


re: Alt+g, do you have "Parse all files..." enabled (performance page)?

re: flicker. VA will usually appear in the callstack for the main IDE thread since it subclasses the window. Does the flicker go away if you disable VA using the VA menu?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Sep 01 2006 :  6:54:19 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean

HKCU\\Software\\Whole Tomato\\Visual Assist X\\[ide]\value name: BraceAutoInsertStyle
2: {\\n} - this is the old VA style



Thank god for the glorious idea, amen.
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Sep 02 2006 :  06:02:56 AM  Show Profile  Reply with Quote
1. whooo great, exactly what I've needed. thx!

2. option is enabled, delete ncb, clear cache, rebuild db neither fixes it.
some WTL repro:

template <class T>
class xListViewCtrl
    : public CWindowImpl<xListViewCtrl, CListViewCtrl>
{
public:
    DECLARE_EMPTY_MSG_MAP();
    void bla()
    {
        AddItem(0, 0, "");
    }
};

xListViewCtrl<int> a;
a.bla();

place cursor on AddItem then alt-g.. nothing happens.
using f12, VS builtin goto def, finds the right foo.
using code completion on "a.|" doesnt list any member of CListViewCtrl.

3. If I disable vax in add-in manager there is no flicker.

-bugfix
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 05 2006 :  5:47:07 PM  Show Profile  Reply with Quote
point 2, i have entered this code and i am seeing the same problems.

for "a." i tried disabling VA, and now CTRL-SPACE simply beeps at me, despite the fact the IDE should know about the WTL code.

did this used to work better in a previous version of VA, or have you always had these problems with WTL?

i will ask support about the flicker and see if they have any ideas.

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Sep 06 2006 :  02:41:25 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline
did this used to work better in a previous version of VA, or have you always had these problems with WTL?


yes, w/ 1301 alt-g worked at least:) Can't remember if it worked w/ 14xx builds.

http://www.mf-sd.de
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 06 2006 :  1:40:52 PM  Show Profile  Reply with Quote
re: flicker

What is the background color of your watch window?
Does it matter if it is docked or floating?
Is VA actually coloring items in the watch?
What window elements do you have VA coloring enabled for (views, source, etc)?
Does the flicker behavior change depending on which window elements VA is coloring?
Do the contents of the watch window affect the behavior?
Does it happen to all 4 watch windows?
Does it happen if a watch window is empty?
Does it happen if a watch window has only one simple item like an int literal (1)?
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Sep 06 2006 :  5:08:07 PM  Show Profile  Reply with Quote
huh... a lot to check:) i ll try when i have some time.
quote:

What is the background color of your watch window?


standard windows
quote:

Is VA actually coloring items in the watch?
What window elements do you have VA coloring enabled for (views, source, etc)?


no, the only color thing i've enabled in vax options is "source windows"
quote:

Do the contents of the watch window affect the behavior?


iirc there have to be some items in watch window, type didnt matter
fwiw it was an WTL project
quote:

Does it happen to all 4 watch windows?


never checked, for me one watch window is enough. though switching to another window like output stops consuming 100% cpu.


http://www.mf-sd.de
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 06 2006 :  7:22:03 PM  Show Profile  Reply with Quote
quote:


iirc there have to be some items in watch window, type didnt matter
fwiw it was an WTL project



Next time you are debugging with one of these builds, check to see if the problem occurs in an otherwise empty watch window with a single watch whose name is 1 and see if it still occurs.


quote:

though switching to another window like output stops consuming 100% cpu.



I just tried building and debugging the WTLExplorer sample from the last 7.5 WTL release and am not seeing any problems.

When you switch to another window, does your window layout cause the watch window to be overlaid? IOW, does the problem go away because the watch is hidden or because focus changes?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 06 2006 :  7:38:05 PM  Show Profile  Reply with Quote
quote:
Originally posted by bugfix
2. option is enabled, delete ncb, clear cache, rebuild db neither fixes it.
some WTL repro:

template <class T>
class xListViewCtrl
    : public CWindowImpl<xListViewCtrl, CListViewCtrl>
{
public:
    DECLARE_EMPTY_MSG_MAP();
    void bla()
    {
        AddItem(0, 0, "");
    }
};

xListViewCtrl<int> a;
a.bla();

place cursor on AddItem then alt-g.. nothing happens.
using f12, VS builtin goto def, finds the right foo.
using code completion on "a.|" doesnt list any member of CListViewCtrl.



case=2403
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 09 2006 :  11:52:59 AM  Show Profile  Reply with Quote
quote:
Originally posted by bugfix
yes, w/ 1301 alt-g worked at least:) Can't remember if it worked w/ 14xx builds.



placing your sample code into VS2003 with VA 1301 and i only get two suggestions on "a.", specifically "bla" and "ProcessWindowMessage"

i have added the two include lines:

#include <atlctrls.h>
#include <atlwinx.h>

and have "C:\\WTL75\\include" in the IDE's list of C++ include directories.

have i missed some configuration step? i was expecting a considerably longer list of suggestions.

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Sep 09 2006 :  12:48:02 PM  Show Profile  Reply with Quote
heh, alt-g != code completion :)
try alt-g on additem()

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 09 2006 :  6:23:18 PM  Show Profile  Reply with Quote
i agree. when you said this worked in 1301 i thought you meant both completion and alt-g worked in 1301.

*doh* i was not reading carefully enough my mistake.

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Dec 13 2006 :  03:00:44 AM  Show Profile  Reply with Quote
is there any estimate on case=2403 ?

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 13 2006 :  08:12:18 AM  Show Profile  Reply with Quote
No estimate yet, but I have bumped this case a bit for you.

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Dec 13 2006 :  10:40:47 AM  Show Profile  Reply with Quote
thx a lot!

http://www.mf-sd.de
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 30 2007 :  11:54:25 PM  Show Profile  Reply with Quote
case=2403 fixed in build 1557

Edited by - support on May 31 2007 12:34:29 AM
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