You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debug protocol extension: support full text ranges #34
To be able to use the debug protocol in other IDEs (Visual Studio, Xamarin Studio) or VS Code in the future we should think about how the debug protocol should support compilers/runtimes that include full text ranges (start line, start column, end line, end column) in their debug info.
Suggestions: StackFrame, SourceBreakpoint and Breakpoint interfaces should add 'endLine?: number' and 'endColumn?: number'.
David Wilson (@daviwil) setting breakpoints at line/column position is already possible since quite some time (and node-debug uses that), but there is no VS Code UI yet.
Imo, SourceBreakpoint doesn't need endLine and endColumn.
What I meant is when breakpoint is hit we need full range, but that is provided via StackFrame, sorry for confusion I made...
For Breakpoint(Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.):
This still makes sense imo since we want to make visual effect like this after breakpoint is placed(which can be adjusted a bit depending on .pdb informations)
Andre Weinand (@weinand) to answer your question: In VS Code, I don't think there is any value in the end line/col for SourceBreakpoint. In VS we have it because the language service gets to specify where exactly it wants the breakpoint set.
Activity
daviwil commentedon Jun 14, 2016
PowerShell's debugger allows setting a breakpoint at a specific line/column (only start position) so this would be a nice addition for us.
weinand commentedon Jun 14, 2016
David Wilson (@daviwil) setting breakpoints at line/column position is already possible since quite some time (and node-debug uses that), but there is no VS Code UI yet.
weinand commentedon Jun 23, 2016
Gregg Miskelly (@gregg-miskelly) David Karlaš (@DavidKarlas) what exactly is the semantics of setting a breakpoint for a range of text (multiple lines)?
DavidKarlas commentedon Jun 23, 2016
Imo,
SourceBreakpointdoesn't need endLine and endColumn.What I meant is when breakpoint is hit we need full range, but that is provided via StackFrame, sorry for confusion I made...
For

Breakpoint(Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.):This still makes sense imo since we want to make visual effect like this after breakpoint is placed(which can be adjusted a bit depending on .pdb informations)
gregg-miskelly commentedon Jun 23, 2016
Andre Weinand (@weinand) to answer your question: In VS Code, I don't think there is any value in the end line/col for
SourceBreakpoint. In VS we have it because the language service gets to specify where exactly it wants the breakpoint set.