Skip to content

Commit 30c8940

Browse files
authored
Add more logging in case hashing fails (microsoft#6640)
1 parent 1e4d8c5 commit 30c8940

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/client/datascience/editor-integration/cellhashprovider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from 'vscode';
1515

1616
import { IDebugService, IDocumentManager } from '../../common/application/types';
17-
import { traceError } from '../../common/logger';
17+
import { traceError, traceInfo } from '../../common/logger';
1818
import { IConfigurationService } from '../../common/types';
1919
import { noop } from '../../common/utils/misc';
2020
import { CellMatcher } from '../cellMatcher';
@@ -238,6 +238,8 @@ export class CellHashProvider implements ICellHashProvider, IInteractiveWindowLi
238238
id: cell.id
239239
};
240240

241+
traceInfo(`Adding hash for ${expectedCount} = ${hash.hash} with ${stripped.length} lines`);
242+
241243
let list = this.hashes.get(cell.file);
242244
if (!list) {
243245
list = [];

0 commit comments

Comments
 (0)