If you want to display messages about the status of your program during a debug
session, but you don’t want to enter Break mode, you can do so by calling
the Debug object and its methods in your code. The Debug object is built in to
VB itself, so you don’t need to declare an object variable or do anything
special to use it.
The Debug object has two methods: Print and Assert. Each displays information
in the Immediate window, but the methods have different applications.