File tree 2 files changed +8
-6
lines changed
PowerShellEditorServices/Debugging
PowerShellEditorServices.Protocol/DebugAdapter
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ public class StackFrame
46
46
/// </summary>
47
47
public int ? EndColumn { get ; set ; }
48
48
49
- /// <summary>
50
- /// Gets the module associated with this frame, if any.
51
- /// </summary>
52
- public object ModuleId { get ; set ; }
53
-
54
49
/// <summary>
55
50
/// Gets an optional hint for how to present this frame in the UI. A value of 'label'
56
51
/// can be used to indicate that the frame is an artificial frame that is used as a
Original file line number Diff line number Diff line change 8
8
9
9
namespace Microsoft . PowerShell . EditorServices
10
10
{
11
+ /// <summary>
12
+ /// An optional hint for how to present a stack frame in the UI.
13
+ /// </summary>
11
14
public enum StackFramePresentationHint
12
15
{
13
16
/// <summary>
@@ -107,6 +110,10 @@ public class StackFrameDetails
107
110
/// <param name="localVariables">
108
111
/// A variable container with all the local variables for this stack frame.
109
112
/// </param>
113
+ /// <param name="workspaceRootPath">
114
+ /// Specifies the path to the root of an open workspace, if one is open. This path is used to
115
+ /// determine whether individua stack frames are external to the workspace.
116
+ /// </param>
110
117
/// <returns>A new instance of the StackFrameDetails class.</returns>
111
118
static internal StackFrameDetails Create (
112
119
PSObject callStackFrameObject ,
@@ -117,7 +124,7 @@ static internal StackFrameDetails Create(
117
124
string moduleId = string . Empty ;
118
125
var presentationHint = StackFramePresentationHint . Normal ;
119
126
120
- var invocationInfo = callStackFrameObject . Properties [ "InvocationInfo" ] . Value as InvocationInfo ;
127
+ var invocationInfo = callStackFrameObject . Properties [ "InvocationInfo" ] ? . Value as InvocationInfo ;
121
128
string scriptPath = ( callStackFrameObject . Properties [ "ScriptName" ] . Value as string ) ?? NoFileScriptPath ;
122
129
int startLineNumber = ( int ) ( callStackFrameObject . Properties [ "ScriptLineNumber" ] . Value ?? 0 ) ;
123
130
You can’t perform that action at this time.
0 commit comments