M
martin
Hi,
The trace class seems to me to be very usefull however there are a few
features of it that have to confused.
I am using visual studio 2003.
the IDE will not let me write
trace.assert(..) or trace.writeLine(..) or trace.writeif(..)
but it will let me write
debug.assert(..) or debug.writeLine(..) or debug.writeif(..)
it is as if it does recognise these methods of the trace class.
I was also interested to note that I can use trace.write(..), trace.warn(..)
without importing system.diagnostics
however I must import system.diagnostics to use debug.assert(..) ,
debug.writeline(..)
maybe I need to employ trace listeners to use these methods of the trace
class???
I am a little confused and would appreciate somebody clearing this up for
me.
cheers
martin.
The trace class seems to me to be very usefull however there are a few
features of it that have to confused.
I am using visual studio 2003.
the IDE will not let me write
trace.assert(..) or trace.writeLine(..) or trace.writeif(..)
but it will let me write
debug.assert(..) or debug.writeLine(..) or debug.writeif(..)
it is as if it does recognise these methods of the trace class.
I was also interested to note that I can use trace.write(..), trace.warn(..)
without importing system.diagnostics
however I must import system.diagnostics to use debug.assert(..) ,
debug.writeline(..)
maybe I need to employ trace listeners to use these methods of the trace
class???
I am a little confused and would appreciate somebody clearing this up for
me.
cheers
martin.