IdeaBlade DevForce 2010 Help Reference
DebugFns Class
Members  See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace : DebugFns Class



A collection of static (Shared in Visual Basic) methods used to provide code assertions, tracing and logging functionality for debug builds of DevForce applications.

Syntax

Visual Basic (Declaration) 
Public Class DebugFns 
   Inherits TraceFns
Visual Basic (Usage)Copy Code
Dim instance As DebugFns
C# 
public class DebugFns : TraceFns 
C++/CLI 
public ref class DebugFns : public TraceFns 

Remarks

Both DebugFns and TraceFns provide identical behavior except that calls to methods in this class may be suppressed by setting the conditional DEBUG flag to false. In Visual Studio .NET projects, creating a debug build enables DEBUG. DEBUG is normally off in a release build.

Output is to the IdeaBlade.Core.IdeaBladeConfig.LoggingInfo.LogFile specified in the the IdeaBlade configuration file, and can also be viewed using the Trace Viewer utility, or any class implementing ITraceSubscriberCallback.

TraceFns filters can be set using the IdeaBlade.Core.IdeaBladeConfig.LoggingInfo.RejectFilters and IdeaBlade.Core.IdeaBladeConfig.LoggingInfo.AcceptFilters nodes in the IdeaBlade configuration file to enable and disable logging from specific namespaces.

Inheritance Hierarchy

System.Object
   IdeaBlade.Core.TraceFns
      IdeaBlade.Core.DebugFns

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.