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

Commit

Permalink
Merge branch 'tweakSmartStep'
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Jul 2, 2018
2 parents 916b94f + a32aaaa commit c6518ce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/chrome/chromeDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,15 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
const stackFrame = this.callFrameToStackFrame(frame);
const clientPath = this._pathTransformer.getClientPathFromTargetPath(stackFrame.source.path) || stackFrame.source.path;
const mapping = await this._sourceMapTransformer.mapToAuthored(clientPath, frame.location.lineNumber, frame.location.columnNumber);
if (mapping) {
return false;
}

if ((await this.sourceMapTransformer.allSources(clientPath)).length) {
return true;
}

return !mapping;
return false;
}

protected onResumed(): void {
Expand Down

0 comments on commit c6518ce

Please sign in to comment.