debug.print

G

Guy Cohen

Hi all

I tried the (good old...)vb6 command debug.print and it does not work in
vb.net 2005

I googled some and found these samples:
Debug.WriteLine("hello")
Console.WriteLine("hello")
Trace.WriteLine("hello")

none of the above prints in the immediate window
1) Where do they print? (am I missing 1 window?)
2) How do I print to the immediate window?

TIA + MERRY XMAS
Guy Cohen
 
G

Guy Cohen

Hi Cor

How do I do that?
I know how to show the immediate window (ctrl+g)
I did not see any "show output window" menu/sub menu
I looked in "Debug"->"Windows"

Please kindly show me what to click (menu/key combination)
TIA
Guy
 
G

Guy Cohen

OK.

Here is what I found in the IDE
1. I can click "View"->"Output" (ctrl+alt+o)
2. I can redirect all output messaages to the immediate window:

a. Click "Tools"->"Options"
b. Go to "Debugging" node (left side of the options child screen)
c. Check "Redirect all output window text to the immediate window"

I wish option c was a default ... :)
....at least when we choose environment->keyboard->visual basic 6....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top