diff --git a/src/vs/workbench/contrib/debug/browser/disassemblyView.ts b/src/vs/workbench/contrib/debug/browser/disassemblyView.ts index 3fabe31ebfa..d6581ff8ae1 100644 --- a/src/vs/workbench/contrib/debug/browser/disassemblyView.ts +++ b/src/vs/workbench/contrib/debug/browser/disassemblyView.ts @@ -41,7 +41,7 @@ import * as icons from './debugIcons.js'; import { CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST, DISASSEMBLY_VIEW_ID, IDebugConfiguration, IDebugService, IDebugSession, IInstructionBreakpoint, State } from '../common/debug.js'; import { InstructionBreakpoint } from '../common/debugModel.js'; import { getUriFromSource } from '../common/debugSource.js'; -import { isUri, sourcesEqual } from '../common/debugUtils.js'; +import { isUriString, sourcesEqual } from '../common/debugUtils.js'; import { IEditorService } from '../../../services/editor/common/editorService.js'; import { IEditorGroup } from '../../../services/editor/common/editorGroupsService.js'; import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.js'; @@ -956,7 +956,7 @@ class InstructionRenderer extends Disposable implements ITableRenderer 0) { // if there is a source reference, don't touch path } else { - if (isUri(source.path)) { + if (isUriString(source.path)) { return uri.parse(source.path); } else { // assume path