Share via


Geek Speak: MSDN Webcast: Debugging and Tweaking Week (Part 1 of 5): How to Debug with .NET ( Followup )

Here is the sample code!!

MSDN Library References:

Web.Config Code Snippets
<system.diagnostics>
     <assert logfilename="c:\inetpub\wwwroot\Tracing\assert.log" /> 
     <switches>
          <add name="DataMessagesSwitch" value="1" />
          <add name="TraceLevelSwitch" value="2" />
      </switches>
      <trace autoflush="true" indentsize="2">
          <listeners>
               <add name="traceListener"
                         type="System.Diagnostics.TextWriterTraceListener" 
                         initializeData="c:\inetpub\wwwroot\Tracing\myLog.log" />
               <add name="traceListener"
                         type="System.Diagnostics.EventLogTraceListener" 
                         initializeData="Msdn Tracing" />
           </listeners>
        </trace>
</system.diagnostics>

Comments

  • Anonymous
    February 14, 2005
    Wouldn't it have been better idea to promote this like 24 hour ago? Now I came interested and see that the live WebCast was 7 hours ago. Duh
  • Anonymous
    February 14, 2005
    Sorry about that, but if you wait 24 hours, it will be available for on-demand. We will be continuing the WebCast series on Debugging all week.