Solved

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

Posted on 2013-05-13
5
393 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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