continue debugging without interrupting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can you show me how to debug a whole vb program without stopping at the end
of the first form? I have many vb forms, i.e., 5 forms, that after the first
form have done its job, the next form will be showed up. But after I debug
the first form, it will be closed without going to next form. I would like to
keep track of the flow of the whole program.

Thank you for your help.
 
Hi checkout step into and step over in the debug menu (F11 and F10), you can
also try setting breakpoints (the red ball) in your second form and so on.

Hope this helps

Greetz Peter
 
Thank you for your advice. Actually, I still use VB6. I tried to use debug
menu but the flow of the execution just goes back to where it starts. For
example, I have the two forms, form1 and form2. In the form1, it has the code
"form2.Show". And then when I debug, it does jumping to form2.load method.
After form2 is loaded, the execution goes back to form1 and getting to end
sub and then stop. I would like to jump to form2 and start debug codes on the
form2 and then jump to form3, debug codes on the form3 and jump to form4 and
so on.
How can I do that? Thanks for your help.
tim
 
Hi I ain't familiar with vb6 anymore, it has been 4 years since I last
opened it, so I think you're better of posting in one of the
microsoft.public.vb ng's because this one is dedicated to vb.net

Greetz Peter
 
Back
Top