Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > debug.print, where goes the print?


Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2003, 06:11 AM
EFileTahi-A EFileTahi-A is offline
Banned
 
Join Date: Nov 2003
Posts: 57
Default debug.print, where goes the print?


hello ppl on this good friday!

where can i see the print using debug? or what is it all about?

tks!
Reply With Quote
  #2  
Old 12-05-2003, 06:24 AM
rpoy rpoy is offline
Centurion
 
Join Date: Sep 2003
Location: Minneapolis, MN
Posts: 151
Default

In the Immediate window.

It will give you feed back when you are debugging! I think it it very helpful.
Reply With Quote
  #3  
Old 12-05-2003, 06:29 AM
lonsoft lonsoft is offline
Freshman
 
Join Date: Nov 2003
Posts: 24
Default

Press: Ctrl + G
Reply With Quote
  #4  
Old 12-05-2003, 06:29 AM
EFileTahi-A EFileTahi-A is offline
Banned
 
Join Date: Nov 2003
Posts: 57
Default

Well, i don't see a thing! lol!

I run the program the window just remains empty (the main form window)
Reply With Quote
  #5  
Old 12-05-2003, 06:30 AM
EFileTahi-A EFileTahi-A is offline
Banned
 
Join Date: Nov 2003
Posts: 57
Default

oohhhh with Ctrl + G that does something

tks!!
Reply With Quote
  #6  
Old 12-05-2003, 06:43 AM
shashidharkr shashidharkr is offline
Centurion
 
Join Date: Oct 2003
Posts: 165
Default

Debug.Print will print the values in immediate window. It will help you in debugging the code. Put a break point & run step by step.
Reply With Quote
  #7  
Old 12-05-2003, 06:48 AM
EFileTahi-A EFileTahi-A is offline
Banned
 
Join Date: Nov 2003
Posts: 57
Default

tks shashi my only problem was know how to open the debug window...

Since i did not see a thing when using DEBUG (which i though it to be what it exacly is right now) I start to think like: "well maybe it have another purpose". but when i saw the results in the hidden window everything got crystal 4 me.

tks anyway m8

Hey! I have a new rank in this forum! Am a Freshman!!!
Reply With Quote
  #8  
Old 12-05-2003, 08:23 AM
vbFace's Avatar
vbFace vbFace is offline
Contributor
 
Join Date: Sep 2003
Location: New Jer$ey
Posts: 540
Default

EFileTahi-A, the Immediate window, you will find, is a fantastic debugging tools. Another way to use it is to check the value of a variable when you hit a break point (or pause the application.) Simply type in "? iMyInteger" or whatever variable name and it shows it to you! This way you can check values as you step through your code. Another clearer example would be "? App.Path".

Also, with the app paused, you can assign values to a variable. Say you open a recordset that gets no data. You can type "RS.Close" and change the SQL and re-run the RS.Open line again.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
QBasic Question reachforstars Miscellaneous Languages 7 12-15-2003 06:29 PM
print function girmander General 4 11-21-2003 07:06 AM
why does my code no longer work dapul General 4 11-07-2002 06:22 PM
Collecting data from exchange GrodanBoll Communications 0 08-30-2002 12:17 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->