Solved

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

Posted on 2013-05-13
5
390 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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 …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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