Debugging. Is this as it should be?

  • Thread starter Thread starter Woody Splawn
  • Start date Start date
W

Woody Splawn

When debugging and I click the step-over icon the line that I am on does not
get stepped over. Am I missing something? That is, lets say I have code
like this:

MsgBox("Hello 1")
MsgBox("Hello 2")
MsgBox("Hello 3")

Lets say the yellow arrow on the left of the screen points to the first
line. I suppose if at this point I click the step-over icon that Hello 1
will not get displayed, but it does.

Could someone explain?
 
Woody Splawn said:
When debugging and I click the step-over icon the line that I am on
does not get stepped over. Am I missing something? That is, lets
say I have code like this:

MsgBox("Hello 1")
MsgBox("Hello 2")
MsgBox("Hello 3")

Lets say the yellow arrow on the left of the screen points to the
first line. I suppose if at this point I click the step-over icon
that Hello 1 will not get displayed, but it does.

Could someone explain?

Step over means execute the whole line, in opposite to stepping into the
procedure and executing it line by line.
 
Hi Woody,

Thanks for posting in this group.
I think maybe you misunderstand the "Step Over" debug option.
Step Over: Runs one statement at a time, treating a called procedure as one
step.
You can use "step over" to go to the next statement shown without seeing
the details of the function about to be called.
But this does not mean that the statement you step over does not execute.

If you still have anything unclear, please feel free to tell me.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top