Groove Programming Tips & Tricks : Techniques to develop better tools in Groove
Updated: 1/21/2005; 10:19:43 AM.

 








Subscribe to "Groove Programming Tips & Tricks" in Radio UserLand.

Click to see the XML version of this web page.

 
 

Friday, August 23, 2002

Use Groove tracing to help debug tools

The Groove platform GDK ships with the Groove Trace Window which is an application that can be used to have information logged/displayed while debugging a tool.  Using the tracing facilities is pretty simple:

var pIGrooveTraceControl =
            GrooveScriptFunctions.CreateNewObject("GrooveTraceControlLib.GrooveTraceControl");
pIGrooveTraceControl.SendToTraceWindow("This is a test!");

If the Groove Trace Window is not open/running, then any SendToTraceWindow method calls result in nothing being done (i.e. not a performance hit).  Once the Groove Trace Window is opened, then all calls to the SendToTraceWindow method call will produce output and it will be serialized.  Obviously this is a debugging aid, and all references to it should be removed prior to releasing your tool.
7:50:13 AM    comment []

© Copyright 2005 Paresh Suthar.



Click here to visit the Radio UserLand website.
 


August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep