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

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
Rama TitoProgrammerAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
just a minute, it is not the Immediate Window anymore. It is now the "Output Window" CTRL-ALT-O
0
 
Meir RivkinFull stack Software EngineerCommented:
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
 
Rama TitoProgrammerAuthor Commented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
are you in Debug or Release mode?
0
 
Rama TitoProgrammerAuthor Commented:
i am in Debug mode.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.