Skip to content

Commit eab8ca7

Browse files
committed
ensure callFrame#url is successful, microsoft#86601
1 parent 6de6aa0 commit eab8ca7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/vs/workbench/services/extensions/electron-browser/extensionHostProfiler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { IExtensionHostProfile, IExtensionService, ProfileSegmentId, ProfileSess
1010
import { IExtensionDescription } from 'vs/platform/extensions/common/extensions';
1111
import { withNullAsUndefined } from 'vs/base/common/types';
1212
import { Schemas } from 'vs/base/common/network';
13+
import { URI } from 'vs/base/common/uri';
1314

1415
export class ExtensionHostProfiler {
1516

@@ -32,7 +33,7 @@ export class ExtensionHostProfiler {
3233
let searchTree = TernarySearchTree.forPaths<IExtensionDescription>();
3334
for (let extension of extensions) {
3435
if (extension.extensionLocation.scheme === Schemas.file) {
35-
searchTree.set(realpathSync(extension.extensionLocation.fsPath), extension);
36+
searchTree.set(URI.file(realpathSync(extension.extensionLocation.fsPath)).toString(), extension);
3637
}
3738
}
3839

0 commit comments

Comments
 (0)