Solved

how to use debug.print in vb.net 2008.

Posted on 2013-05-13
5
391 Views
Last Modified: 2013-05-15
Hi, I am unable to view debug.Print in vb.net under Immediate Window. I do insert "Import System.Diagnostics.Debug" in application form as well. Please do advice
0
Comment
Question by:TITO2009
  • 2
  • 2
5 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 39160736
You can access the Output Window from a WinForms project in Debug Mode. Console.Writeline will write to it and be visible.

Go for View > Other Windows > Output from the IDE menu, if it's not visible by default.


If you want to stick to Debug.Print then you can access this with

Debug > Windows > Immediate.
http://vbcity.com/forums/t/155007.aspx
0
 

Author Comment

by:TITO2009
ID: 39160838
Hi , thanks for prompt reply, i am using forms and much prefer to use debug.print

i do insert code to testing purpose "Debug.Print ("TESTING")". I did open the debug>Windows>Immediate window. I do insert break at this point and step Into to look step by step unfortunately nothing appears in my Immediate window. Do I missing any properties to in Tools>Options to check in?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 39160887
are you in Debug or Release mode?
0
 

Author Comment

by:TITO2009
ID: 39160903
i am in Debug mode.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 39161033
just a minute, it is not the Immediate Window anymore. It is now the "Output Window" CTRL-ALT-O
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question