Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Jul 30, 2018
1 parent 7cfd06b commit 147245c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class BreakpointsApplier {
for (const breakpointsBySource of DebugUtils.groupBySource(breakpoints).values()) {
const args: DebugProtocol.SetBreakpointsArguments = {
source: breakpointsBySource[0].source!,
breakpoints: breakpointsBySource.map(b => b.origin as DebugProtocol.SourceBreakpoint)
breakpoints: breakpointsBySource.map(b => b.origin as DebugProtocol.SourceBreakpoint),
// Although marked as deprecated, some debug adapters still use lines
lines: breakpointsBySource.map(b => (b.origin as DebugProtocol.SourceBreakpoint).line)
};
Expand Down

0 comments on commit 147245c

Please sign in to comment.