473,699 Members | 2,226 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug.Print

In vs 6 I can use debug.print as alternatif debugging value at runtime.
Which function that I can use in C# 2005 Express for windows form apps?
TIA,
Gunawan
Nov 16 '05 #1
3 16718
Hi,

Are you looking for:
Debug.Write, WriteLine ?

HTH,
Rakesh Rajan

"Gunawan" wrote:
In vs 6 I can use debug.print as alternatif debugging value at runtime.
Which function that I can use in C# 2005 Express for windows form apps?
TIA,
Gunawan

Nov 16 '05 #2
Hi,
I can't user Debug.Write or WriteLine because not in the list.
Or maybe I missed same using Namespace?

TIA,
Gunawan
"Rakesh Rajan" <Ra*********@di scussions.micro soft.com> wrote in message
news:DF******** *************** ***********@mic rosoft.com...
Hi,

Are you looking for:
Debug.Write, WriteLine ?

HTH,
Rakesh Rajan

"Gunawan" wrote:
In vs 6 I can use debug.print as alternatif debugging value at runtime.
Which function that I can use in C# 2005 Express for windows form apps?
TIA,
Gunawan

Nov 16 '05 #3
You're looking for --

System.Diagnost ics.Debug.

- Sahil Malik
http://codebetter.com/blogs/sahil.malik/
"Gunawan" <jg********@hot pop.com> wrote in message
news:uo******** ******@TK2MSFTN GP14.phx.gbl...
Hi,
I can't user Debug.Write or WriteLine because not in the list.
Or maybe I missed same using Namespace?

TIA,
Gunawan
"Rakesh Rajan" <Ra*********@di scussions.micro soft.com> wrote in message
news:DF******** *************** ***********@mic rosoft.com...
Hi,

Are you looking for:
Debug.Write, WriteLine ?

HTH,
Rakesh Rajan

"Gunawan" wrote:
> In vs 6 I can use debug.print as alternatif debugging value at runtime.
> Which function that I can use in C# 2005 Express for windows form apps?
> TIA,
> Gunawan
>
>
>


Nov 16 '05 #4

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

Similar topics

9
2022
by: Dan Perl | last post by:
Is there a mechanism or an idiom for adding code for debugging so that it can easily be removed in the production code? I am thinking of something similar to the C/C++ preprocessor statements with which you can compile an application with the debug code or without it (the default). Dan
2
2352
by: Winston WOLFF | last post by:
What do people think about changing the parameters to logging.debug() to be more like the parameters to print? As you know, you can pass multiple parameters to print, and they are all printed out with a space between each. I find this more useful than the current method which just takes the first parameter and submits it to the % operator with the other parameters. From a coding point of view, I find it to better to type this because...
3
2896
by: Tim Marshall | last post by:
For an mdb or mde release, does having debug.print without the comment single quote add any processing time to the application? I assume an mde won't since debug.prints would not be compiled in the final product, right? But in an mdb, wouldn't debug.print add a bit of processing time, however miniscule? When developing, debug.prints still active where I don't need them can
7
18790
by: Thomas Pecha | last post by:
Sorry for all who think this is easy, I was not able to handle this Coming from VB6 where with simple debug.print strAString you could write to debug window, I am totalling failing in vb.net 2003 The sample in the help file does not work. I tried now for days ... Pls could anybody post a sample, including necessary imports and so on -
5
2848
by: MLH | last post by:
I use a fair number of debug.print statements. My apps are fairly well 'peppered' with them. I've often wondered if leaving them in the mdb, creating and rolling out an mde intended for use in the A97 runtime environment might ever be cause for concern. I've noticed no symptoms to indicate a problem. Are there drawbacks to this practice?
0
1383
by: Alan Roberts | last post by:
In VB6 I have a routine that accepts a 2D array and prints it to the debug windows. The array can be of any type (eg integer, string, double etc).... Public Sub DPArray(ArrayToPrint As Variant) Dim zz As Integer, xx As Integer For zz = 1 To UBound(ArrayToPrint, 1) For xx = 1 To UBound(ArrayToPrint, 2) Debug.Print ArrayToPrint(zz, xx); Next xx Debug.Print
6
4113
by: swartzbill2000 | last post by:
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to make it work in Release build? Bill
2
12828
by: FBM | last post by:
Hi, I am preparing project for submission and i'd like to allow the print out of debug messages. I know that with something like #define DEBUG #ifdef DEBUG print(X); #endif
2
22874
by: Bill_DBA | last post by:
I have the following stored procedure that is called from the source of a transformation in a DTS package. The first parameter turns on PRINT debug messages. The second, when equals 1, turns on the openning, fetching, and closing of a cursor. Things are fine if only one of the two parameters was set to 1. When run with both parameters turned on, "dba_test_dts 1, 1", DTS source (tab) preview fails because it thinks no row was returned....
4
38265
by: Dom | last post by:
VB had a neat object called "Debug". You could use "Debug.Print()" in your code, and you could get useful debugging information in the immediate window. Is there something like this in CSharp? Dom
0
8689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9178
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9035
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8885
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2348
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.