Click here to Skip to main content
15,886,512 members
Articles / Web Development / HTML

TraceTool 12.7: The Swiss-Army Knife of Trace

Rate me:
Please Sign up or sign in to vote.
4.97/5 (234 votes)
20 Nov 2016CPL19 min read 1.9M   39K   1K  
A C#, C++, Delphi, ActiveX , Javascript , NodeJs and Java trace framework and a trace viewer: Tail, OutputDebugString, event log, and with Log4J, Log4Net, and Microsoft Enterprise Instrumentation Framework (EIF) support. This also comes with full support for Pocket PC, Silverlight, and Android.
/*
 * TraceDisplayFlags.java
 *
 * HomePage :  http://www.codeproject.com/csharp/TraceTool.asp
 * Download :  http://sourceforge.net/projects/tracetool/
 * See License.txt for license information
 *
 * Author : Thierry Parent
 * Version : 12.3
 */

package android.tracetool;


/**
 * List of constant.<p>
 * Specify what information to display by SendObject function.<p>
 * sendObject, sendType, addObject  and addType have an optional "flags" in argument (int).<p>
 * If not specified, the flag is calculated from the TTrace options (class TTraceOptions)<p>
 * You can combine some of theses flags like in the following sample :<p>
 *     TTrace.debug().sendObject("this (short)", this, TraceDisplayFlags.ShowFields + TraceDisplayFlags.ShowModifiers) ;<p>
 * @author tpa
 */
public class TraceDisplayFlags
{
   /** show modifiers (public class,...)  */
   public static final int showModifiers        = 1  ;
   /** show class info (assembly,guid,...) and bases classes names  */
   public static final int showClassInfo        = 2  ;
   /** show fields values  */
   public static final int showFields           = 4  ;
   /** show attributes. Java 5 (not yet implemented) and C# */
   public static final int ShowCustomAttributes = 8  ;
   /** show non public (private and protected) members  */
   public static final int showNonPublic        = 16 ;
   /** show Inherited members  */
   public static final int showInheritedMembers = 32 ;
   /** show events (delegates)  */
   public static final int showEvents           = 64 ;
   /** show methods and constructors  */
   public static final int showMethods          = 128 ;
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Public License Version 1.0 (CPL)


Written By
Architect
Belgium Belgium
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions