Skip to content

Commit 18fdd2a

Browse files
authored
Temporarily disable deemphasized stack frames to fix VSCode issue 1750 (#876)
1 parent 5a6299e commit 18fdd2a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/PowerShellEditorServices/Debugging/StackFrameDetails.cs

+8-6
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,14 @@ static internal StackFrameDetails Create(
107107
string scriptPath = (callStackFrameObject.Properties["ScriptName"].Value as string) ?? NoFileScriptPath;
108108
int startLineNumber = (int)(callStackFrameObject.Properties["ScriptLineNumber"].Value ?? 0);
109109

110-
if (workspaceRootPath != null &&
111-
invocationInfo != null &&
112-
!scriptPath.StartsWith(workspaceRootPath, StringComparison.OrdinalIgnoreCase))
113-
{
114-
isExternal = true;
115-
}
110+
// TODO: RKH 2019-03-07 Temporarily disable "external" code until I have a chance to add
111+
// settings to control this feature.
112+
//if (workspaceRootPath != null &&
113+
// invocationInfo != null &&
114+
// !scriptPath.StartsWith(workspaceRootPath, StringComparison.OrdinalIgnoreCase))
115+
//{
116+
// isExternal = true;
117+
//}
116118

117119
return new StackFrameDetails
118120
{

0 commit comments

Comments
 (0)