Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Quick-macro recorder damn slow

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
andre.horst Posted - Sep 02 2008 : 08:08:23 AM
I use VS2008 SP1, FeaturePack, WinXP SP2, dualcore E6600, latest VAX.

I just wanted to use the quick-macro function from the IDE to add some code on several methods. First, the macro-recorder takes very long to start. Than i typed some code (around 10 chars), got a coffee, came back and the code still wasnt typed down. After a few minutes i was able to stop the macro-recorder.

Than i disabled VAX from startup and restarted the IDE. Tried again to record a macro and it was still slow (compared to VS6) but i can work with it and i directly see my typed code.

I am not sure if this is a VAX problem, but it looks like that VAX tries to open the suggestion-box that slows down the macro-recording. I attached another IDE to find out more, but i could not see any stuff on the call-stack that indicates VAX activity.

Disabling VAX speeds up macro-recording significantly.
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - May 12 2011 : 12:37:23 AM
case=724 is fixed in build 1848
feline Posted - Sep 03 2008 : 08:51:51 AM
I am not sure what the IDE is doing with macro's, but the first time you run a pre-recorded / pre-written macro it is painfully slow. Run the same macro a second or third time and it can run nice and fast, even with VA enabled and working normally.

Restart the IDE and you are back to painfully slow the first time you run the macro.

As an experiment I have just tried the number changing macro:

http://support.wholetomato.com?W446

in VS2005 with VA set not to load, via the registry key. So no sign of VA. The first time the macro is run it is still quite slow, and it runs a lot faster the second time. So VA is probably having a speed effect here, but this happens even without VA.

Depending on what you are trying to do with the macro you may find that adding a VA Snippet with a one or two letter shortcut helps.
andre.horst Posted - Sep 02 2008 : 10:47:18 AM
Hum...This helps only a bit and makes the IDE just a bit faster. Before i created the topic i tested macro-recording with VAX disabled, that was similar to the macro you supplied and wasnt that satisfying. Thus i completly removed VAX from the IDE startup and that was more helpful.

Nevertheless macro-recording with VAX started in background is anoying.

But i am pretty sure you will fix the problem
feline Posted - Sep 02 2008 : 08:37:29 AM
The speed problem is a known issue. We are looking to have VA disable its self when you start recording a quick macro:

case=724

Having VA active while recording keyboard macros is likely to cause problems, since VA's features are going to get in the way. This may interest you, one user reported binding a keyboard shortcut to this IDE macro as a temporary workaround:

' Wrapper to record a temporary macro.  Disables VAX prior to recording as it
' seems to slow down recording substantially.
Sub RecordMacro()
    DTE.ExecuteCommand("VAssistX.EnableDisable")
    DTE.ExecuteCommand("Tools.RecordTemporaryMacro")
End Sub

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