VB Debug Step Thru and See Results

gmacpro

Member
Joined
Jun 19, 2012
Messages
9
Programming Experience
Beginner
I've looked and can't find how to do this. In VB6 when you pressed F8 and watched the Form you could see the results as you stepped thru but I can't find the switch (if there is one) in VB2010 to enable this.

Example:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Button1.Text = "Go"
Stop
'Watching the Form, the Button Text still reads "Button1" until I leave this Routine
'Can this be changed so I can monitor the result?
End Sub

Thanks

gmacpro
 
It's still F8! And it won't change on the form because you've stopped execution which means that no paint events can be processed.
 
At the stop point you can hover the Text property (or a variable if that was the case) to see its current value.
 
Thanks for the replies... Too bad you can't see the actual output on the form as per VB6. I am aware of the variable hover etc but that doesn't help if you want to see if the proper picture loaded etc.

Thanks

gmacpro
 
Back
Top