This is an old revision of the document!
Debugging
Using System.Diagnostics
Add the following to the app.exe.config
file (must reside in the same folder and the \\app\\.exe
):
<configuration> ... <system.diagnostics> <sources> <source name="srcEzFITDebug" switchName="SourceSwitch" > <listeners> <add name="textListener" /> </listeners> </source> </sources> <switches> <add name="SourceSwitch" value="All" /> </switches> <sharedListeners> <add name="textListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="Debug.txt" /> </sharedListeners> <trace autoflush="true" indentsize="4"></trace> </system.diagnostics> </configuration>