From 90044bb5d4f3d37a6e33ddac5958bbc5d3d6ef5b Mon Sep 17 00:00:00 2001 From: Denys Yaroshenko Date: Fri, 19 Oct 2018 16:47:39 +0300 Subject: [PATCH] Fix stackframe https://github.com/Microsoft/vscode-go/issues/1987 --- src/debugAdapter/goDebug.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debugAdapter/goDebug.ts b/src/debugAdapter/goDebug.ts index 61c25eabe..297699834 100644 --- a/src/debugAdapter/goDebug.ts +++ b/src/debugAdapter/goDebug.ts @@ -784,7 +784,7 @@ class GoDebugSession extends DebugSession { new StackFrame( i, location.function ? location.function.name : '', - new Source( + location.file === '' ? null : new Source( basename(location.file), this.toLocalPath(location.file) ),