473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

TRACE function ?? (writing to IDE output window while debugging)

In vc6 there was the TRACE fuction to write to the output window while
debugging

Is this also possible in the VS .NET IDE ?
Nov 15 '05 #1
4 9110
System.Diagnostics.Debug.Write
System.Diagnostics.Debug.WriteLine

Hope this helps
Dan Cimpoiesu

"Sagaert Johan" <RE*******************@hotmail.com> wrote in message
news:OV**************@TK2MSFTNGP11.phx.gbl...
In vc6 there was the TRACE fuction to write to the output window while
debugging

Is this also possible in the VS .NET IDE ?

Nov 15 '05 #2
Thanks , i did'nt discover the diagnostics class..

"Dan Cimpoiesu" <da**********@gmx.net> wrote in message
news:OD*************@TK2MSFTNGP09.phx.gbl...
System.Diagnostics.Debug.Write
System.Diagnostics.Debug.WriteLine

Hope this helps
Dan Cimpoiesu

"Sagaert Johan" <RE*******************@hotmail.com> wrote in message
news:OV**************@TK2MSFTNGP11.phx.gbl...
In vc6 there was the TRACE fuction to write to the output window while
debugging

Is this also possible in the VS .NET IDE ?


Nov 15 '05 #3
This does'nt work when debugging Smartdevice Apps ,(CF)
No error , but nothing shows up in the debugger output window.
"Sagaert Johan" <RE*******************@hotmail.com> wrote in message
news:OV**************@TK2MSFTNGP11.phx.gbl...
In vc6 there was the TRACE fuction to write to the output window while
debugging

Is this also possible in the VS .NET IDE ?

Nov 15 '05 #4
Sagaert,
In addition to System.Diagnostics.Debug there is System.Diagnostics.Trace.

By default Debug is available in only Debug Builds of your project.

By default Trace is available in both Debug & Release builds of your
project.

Hope this helps
Jay

"Sagaert Johan" <RE*******************@hotmail.com> wrote in message
news:OV**************@TK2MSFTNGP11.phx.gbl...
In vc6 there was the TRACE fuction to write to the output window while
debugging

Is this also possible in the VS .NET IDE ?

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Chris | last post by:
Can anyone point me to some code that will display messages, in a seperate window, from javascipt. ie effectively a trace window? TIA Chris
3
by: Mike Schilling | last post by:
Instances of SystemOutOfMemoryException do not contain a stack trace. Easy test to verify this: class OOM { public static void Main() { try { Object arr = new Object; } catch...
2
by: JezB | last post by:
I'm compiling an old C program within Visual Studio to give me the advantages of debugging within this environment. I'm building it as a Console application using C++ as the language. It compiles...
5
by: martin | last post by:
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 ...
1
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...
8
by: Bryan | last post by:
Does anyone have an example of an application that can connect to a running process and capture Trace.WriteLine calls like in SQL Server Profiler? I know that we can inherit from a TraceListener...
0
by: John Shell | last post by:
Hello, I have a client application written in VB (call it Client). It uses a COM DLL written in VC++ (call it Server). The Client's projects are all contained in one solution and the Server is...
3
by: Steve Brecher | last post by:
Context: I am having a problem with the phpBB package. Currently about 0.4 on the 0-10.0 scale from utter cluelessness to wizardry with respect to PHP, I find a small debugging package at...
3
by: Arman Sahakyan | last post by:
Hi, I'm an MFC programmer and know little about .NET programming. Now, for some reasons, I'm developing an ASP .NET application... What I need to know is how to output into VS's Output Window...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.