Breakpoint.FunctionColumnOffset Property

 

Indicates the column offset from the name of a function breakpoint.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

int FunctionColumnOffset { get; }

Property Value

Type: System.Int32

An integer value representing the column offset from the name of a function breakpoint.

The following example demonstrates how to use the FunctionColumnOffset property.

public static void FunctionColumnOffset(DTE dte)
{
    // Setup debug Output window.
    Window w = (Window)dte.Windows.Item(EnvDTE.Constants.vsWindowKindOutput);
    w.Visible = true;
    OutputWindow ow = (OutputWindow)w.Object;
    OutputWindowPane owp = ow.OutputWindowPanes.Add("FunctionColumnOffset Property Test: ");
    owp.Activate();

    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;
    owp.OutputString("\n FunctionColumnOffset: " + 
                      debugger.Breakpoints.Item(1).FunctionColumnOffset.ToString());
    owp.OutputString("\n FunctionLineOffset: " + 
                      debugger.Breakpoints.Item(1).FunctionLineOffset.ToString());
}
Return to top
Show: