From 2f2ca2ea1922809e7404d84808d8ff83cc00bb53 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 12 May 2021 20:02:37 +0200 Subject: [PATCH] more trace logging, https://github.com/microsoft/vscode/issues/123700 --- src/vs/workbench/api/common/extHostNotebookKernels.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/api/common/extHostNotebookKernels.ts b/src/vs/workbench/api/common/extHostNotebookKernels.ts index 5bff02dac35ea..910078509459e 100644 --- a/src/vs/workbench/api/common/extHostNotebookKernels.ts +++ b/src/vs/workbench/api/common/extHostNotebookKernels.ts @@ -219,7 +219,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape { } else { obj.associatedNotebooks.delete(notebook.uri); } - this._logService.trace(`NotebookController[${handle}]`, notebook.uri.toString(), value); + this._logService.trace(`NotebookController[${handle}] ASSOCIATE notebook`, notebook.uri.toString(), value); // send event obj.onDidChangeSelection.fire({ selected: value, @@ -244,9 +244,11 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape { } try { + this._logService.trace(`NotebookController[${handle}] EXECUTE cells`, document.uri.toString(), cells.length); await obj.controller.executeHandler.call(obj.controller, cells, document.apiNotebook, obj.controller); } catch (err) { // + this._logService.error(`NotebookController[${handle}] execute cells FAILED`, err); console.error(err); } }