Hi,
I have noticed that I can only see the output of
"system.diagnostics.trace.write(..)" in the output window of the dubugger.
which leaves me wondering, if these statements are left in the code in a
release build, then where exactly can I see their output.
Is it possible to write then directly to a file rather than the output
window of the debugger.
I am under the impression that objects of the system.diagnostics.trace class
are left in the code when a release build is done where as objects of the
class system.diagnostics.debug are removed from a release build. Am I
correct in this view??
cheers
Alex. 4 5188
"Alex" <al**************@yahoo.com> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl... Hi,
I have noticed that I can only see the output of "system.diagnostics.trace.write(..)" in the output window of the dubugger. which leaves me wondering, if these statements are left in the code in a release build, then where exactly can I see their output. Is it possible to write then directly to a file rather than the output window of the debugger.
I am under the impression that objects of the system.diagnostics.trace
class are left in the code when a release build is done where as objects of the class system.diagnostics.debug are removed from a release build. Am I correct in this view??
Look up the System.Diagnostics.TraceListener class in the documentation.
--
John Saunders
Internet Engineer jo***********@surfcontrol.com
"Alex" <al**************@yahoo.com> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl... Hi,
I have noticed that I can only see the output of "system.diagnostics.trace.write(..)" in the output window of the dubugger. which leaves me wondering, if these statements are left in the code in a release build, then where exactly can I see their output. Is it possible to write then directly to a file rather than the output window of the debugger.
I am under the impression that objects of the system.diagnostics.trace
class are left in the code when a release build is done where as objects of the class system.diagnostics.debug are removed from a release build. Am I correct in this view??
Look up the System.Diagnostics.TraceListener class in the documentation.
--
John Saunders
Internet Engineer jo***********@surfcontrol.com
cheers john.
alex.
"John Saunders" <john.saunders at surfcontrol.com> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl... "Alex" <al**************@yahoo.com> wrote in message news:u3**************@TK2MSFTNGP12.phx.gbl... Hi,
I have noticed that I can only see the output of "system.diagnostics.trace.write(..)" in the output window of the
dubugger. which leaves me wondering, if these statements are left in the code in a release build, then where exactly can I see their output. Is it possible to write then directly to a file rather than the output window of the debugger.
I am under the impression that objects of the system.diagnostics.trace class are left in the code when a release build is done where as objects of
the class system.diagnostics.debug are removed from a release build. Am I correct in this view??
Look up the System.Diagnostics.TraceListener class in the documentation. -- John Saunders Internet Engineer jo***********@surfcontrol.com
cheers john.
alex.
"John Saunders" <john.saunders at surfcontrol.com> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl... "Alex" <al**************@yahoo.com> wrote in message news:u3**************@TK2MSFTNGP12.phx.gbl... Hi,
I have noticed that I can only see the output of "system.diagnostics.trace.write(..)" in the output window of the
dubugger. which leaves me wondering, if these statements are left in the code in a release build, then where exactly can I see their output. Is it possible to write then directly to a file rather than the output window of the debugger.
I am under the impression that objects of the system.diagnostics.trace class are left in the code when a release build is done where as objects of
the class system.diagnostics.debug are removed from a release build. Am I correct in this view??
Look up the System.Diagnostics.TraceListener class in the documentation. -- John Saunders Internet Engineer jo***********@surfcontrol.com
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Raj Dhrolia |
last post by:
Hi,
In one of my method, I want to know the class/function that
called/invoked this method.
i.e. i have a function named Method1() in class1. I want
"ClassX.MethodX()" in Method1(), when...
|
by: Alex |
last post by:
Hi,
I have noticed that I can only see the output of
"system.diagnostics.trace.write(..)" in the output window of the dubugger.
which leaves me wondering, if these statements are left in the...
|
by: A.M |
last post by:
Hi,
If I use System.Diagnostics.Debug.WriteLine in a asp.net application, where
does the output go?
Is there any trace monitor application thar shows me the trace output?
Thanks,
Allan
|
by: Jiho Han |
last post by:
I am wondering whether asp.net applications can write trace information
using the System.Diagnostics.Trace class, and also whether in web.config,
the <system.diagnostics> element and its sub...
|
by: Jiho Han |
last post by:
I have the following defined in web.config under <configuration> node:
<system.diagnostics>
<switches>
<add name="MainSwitch" value="4"/>
</switches>
|
by: Patrick |
last post by:
When Tracing in ASP.NET, the IIS process (on IIs5.1) is locking on the Trace
file, and I can't read the trace file without restarting the IIS:
Even the following does NOT work (how could I fix...
|
by: Oleg Ogurok |
last post by:
Hi there,
My ASP.NET 2.0 app uses an external assembly that calls methods like
Trace.Write() and Trace.TraceError() of namespace System.Diagnostics.
I need to enable tracing in my web app so...
|
by: msnews.microsoft.com |
last post by:
Hi,
I am tring to use Trace Listener in asp.net 1.1 application as mentoned
here. But i am getting the following error,
Configuration Error
Description: An error occurred during the processing...
|
by: =?Utf-8?B?QWxleA==?= |
last post by:
Hi.
Does anybody know if System.Diagnostics.TraceSource is supported under
ASP.NET? I've used this class along with SourceSwitch and
TextWriterTraceListener in Windows apps but this is the first...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |