Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Fix #533
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Oct 15, 2019
1 parent 31d1923 commit 6f75644
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/transformers/baseSourceMapTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ export class BaseSourceMapTransformer {
bp.column = mapped.column;
} else {
logger.log(`SourceMaps.setBP: Can't map ${args.generatedPath}:${bp.line + 1}:${bp.column + 1}, keeping original line numbers.`);
bp.line = args.originalBPs[i].line;
bp.column = args.originalBPs[i].column;
if (args.originalBPs[i]) {
bp.line = args.originalBPs[i].line;
bp.column = args.originalBPs[i].column;
}
}

this._requestSeqToSetBreakpointsArgs.delete(requestSeq);
Expand Down

0 comments on commit 6f75644

Please sign in to comment.