By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,890 Members | 1,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,890 IT Pros & Developers. It's quick & easy.

continue debugging without interrupting

P: n/a
Tim
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.
Feb 6 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Tim" <Ti*@discussions.microsoft.com> schreef in bericht
news:06**********************************@microsof t.com...
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.

Feb 7 '06 #2

P: n/a
Tim
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

"Peter Proost" wrote:
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 --
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Tim" <Ti*@discussions.microsoft.com> schreef in bericht
news:06**********************************@microsof t.com...
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.


Feb 7 '06 #3

P: n/a
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Tim" <Ti*@discussions.microsoft.com> schreef in bericht
news:FB**********************************@microsof t.com...
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

"Peter Proost" wrote:
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Tim" <Ti*@discussions.microsoft.com> schreef in bericht
news:06**********************************@microsof t.com...
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.


Feb 7 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.