PC Review


Reply
Thread Tools Rate Thread

Debug.WriteLine() creating thousands of <guid>.log files on system drive

 
 
sklett
Guest
Posts: n/a
 
      20th Dec 2006
I just noticed the other day that I had almost 100k *.log files in the root
of my system drive. They all had a guid for a filename and were all 0 bytes
in size. I narrowed the problem down to one of my applications and even
further to a call to Debug.WriteLine(). After that call hundreds of these
files are created. It's not ALL calls to Debug.WriteLine(), just some and I
can't find anything about the data being passed that would cause an error.

has anyone else seen this? Any ideas what could cause this?

Thanks for reading,
Steve


 
Reply With Quote
 
 
 
 
Chan Ming Man
Guest
Posts: n/a
 
      21st Dec 2006
The question you should ask is why should you have a Debug.WriteLine in your
running application? As the name implied, 'Debug' so are you doing
debugging?

chanmm


"sklett" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I just noticed the other day that I had almost 100k *.log files in the root
>of my system drive. They all had a guid for a filename and were all 0
>bytes in size. I narrowed the problem down to one of my applications and
>even further to a call to Debug.WriteLine(). After that call hundreds of
>these files are created. It's not ALL calls to Debug.WriteLine(), just
>some and I can't find anything about the data being passed that would cause
>an error.
>
> has anyone else seen this? Any ideas what could cause this?
>
> Thanks for reading,
> Steve
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug.WriteLine and Trace.WriteLine Bob S Microsoft C# .NET 2 23rd Oct 2007 03:35 AM
Console.WriteLine vs. Debug.WriteLine formatting Zytan Microsoft C# .NET 1 27th Feb 2007 02:24 AM
Debug.WriteLine and Trace.WriteLine from class. xxx@hotmail.com Microsoft ASP .NET 0 1st Sep 2005 02:24 PM
System.Diagnostics.Debug.WriteLine John A Grandy Microsoft VB .NET 5 29th Nov 2004 06:14 AM
System.Diagnostics.Debug.WriteLine A.M Microsoft ASP .NET 4 19th Apr 2004 04:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 PM.