Home Page (Objects) | Overview | FAQ | Reference
Applies to: Debugger object
In a program you are debugging, moves the insertion point to the line containing the current instruction.
Syntax
object.ShowCurrentStatement
Parameters
object
An expression that evaluates to a Debugger object.
Remarks
The ShowCurrentStatement method is useful for returning the insertion point to the current line. For example, you might want to set or clear a breakpoint on that line. You can only use this method when the program being debugged is in break mode.
Example
The following example moves the insertion point to the line containing the current instruction:
Debugger.ShowCurrentStatement