how to use Trace.WriteLine()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mridul saurabh

    how to use Trace.WriteLine()

    hii,
    i just want to know whether c# is having any feature available to fetch error messages and bug while executing project from program to one log file which wld be capable to tell where exatly the error has occured ??
    i was trying to use Trace.WriteLine () to find up to where trae has completed in program ??
    but i am not able to understand where to look for details ?
    please help me asap.
  • GaryTexmo
    Recognized Expert Top Contributor
    • Jul 2009
    • 1501

    #2
    The MSDN page has a pretty comprehensive writeup, maybe start there and let us know if you have any further questions.



    There's a section for Trace after the section for Debug.

    Comment

    Working...