diff --git a/src/vs/workbench/parts/debug/common/debugSource.ts b/src/vs/workbench/parts/debug/common/debugSource.ts index 992a1526095afc18f8e88c94bbe5a69610b0ad26..68a1d74bf9ba5134df5dcaba3a17b7ce69cf7244 100644 --- a/src/vs/workbench/parts/debug/common/debugSource.ts +++ b/src/vs/workbench/parts/debug/common/debugSource.ts @@ -56,9 +56,8 @@ export class Source { if (paths.isAbsolute_posix(path) || paths.isAbsolute_win32(path)) { this.uri = uri.file(path); } else { - // path is relative - // should not happen because relative paths always have a sourceReference > 0 - console.error('cannot handle relative paths without sourceReference'); + // path is relative: this is not supported but if it happens we create a bogus uri for backward compatibility + this.uri = uri.file(path); } } }