Debug Step into another form

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

Guest

Hi everyone, i'm workin with vb.net 2003 and i using the debug step into, but
when i call a form within another the debugger doesn't go to the form that i
call, how do i solve this, without putting a breakpoint.

SC.
 
SC said:
Hi everyone, i'm workin with vb.net 2003 and i using the debug step
into, but when i call a form within another the debugger doesn't go
to the form that i call, how do i solve this, without putting a
breakpoint.


Debug into what? Which method of the Form do you call?


Armin
 
i just want to debug step by step in a form, but when i call some other form
with the sentence:

form.ShowDialog()

the debug cursor doesn't navigate to that form, i mean only when i exit that
form the debugger starts again.
 
Sergio Cifuentes said:
i just want to debug step by step in a form, but when i call some
other form with the sentence:

form.ShowDialog()

the debug cursor doesn't navigate to that form,

ShowDialog does not belong to your source code, hence the debugger can not
step into it. You could only step into the disassembly, but the method is
part of the Framework and not of your project.

The debugger can only stop at executable lines. In which line do you want it
to stop?

i mean only when i
exit that form the debugger starts again.


Armin
 
Thanks Armin, what i want is to follow all the program logic since the error
is in logic, i guess i'll have to put some breakpoints isn't it?

the error is in the second form, my first form is a login form, so if i
debug with the step into i only debug my login form, and what i want is to
debug the second form.
 
Sergio Cifuentes said:
Thanks Armin, what i want is to follow all the program logic since
the error is in logic, i guess i'll have to put some breakpoints
isn't it?

the error is in the second form, my first form is a login form, so
if i debug with the step into i only debug my login form, and what i
want is to debug the second form.

Unfortunately, in VB 2003, you have to set breakpoints.

In VB 2005, you can set a breakpoint at ShowDialog. Then, when you press F8
(or whatever key is single step in your IDE), the IDE stops at any source
code line that is first executed in the Form.


Armin
 
Back
Top