Home All Groups Group Topic Archive Search About

continue debugging without interrupting

Author
6 Feb 2006 10:00 PM
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.

Author
7 Feb 2006 9:20 AM
Peter Proost
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)

Show quoteHide quote
"Tim" <T**@discussions.microsoft.com> schreef in bericht
news:06265719-3098-4A45-955E-9457AFC18DFA@microsoft.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.
Author
7 Feb 2006 3:53 PM
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

Show quoteHide quote
"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" <T**@discussions.microsoft.com> schreef in bericht
> news:06265719-3098-4A45-955E-9457AFC18DFA@microsoft.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.
>
>
>
Author
7 Feb 2006 4:02 PM
Peter Proost
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)

Show quoteHide quote
"Tim" <T**@discussions.microsoft.com> schreef in bericht
news:FB62084E-E055-496B-8A66-DAD57C305283@microsoft.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" <T**@discussions.microsoft.com> schreef in bericht
> > news:06265719-3098-4A45-955E-9457AFC18DFA@microsoft.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.
> >
> >
> >