// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.EditorServices.Protocol.DebugAdapter { public class StackFrame { public int Id { get; set; } public string Name { get; set; } public Source Source { get; set; } public int Line { get; set; } public int Column { get; set; } // /** An identifier for the stack frame. */ //id: number; ///** The name of the stack frame, typically a method name */ //name: string; ///** The source of the frame. */ //source: Source; ///** The line within the file of the frame. */ //line: number; ///** The column within the line. */ //column: number; ///** All arguments and variables declared in this stackframe. */ //scopes: Scope[]; #if false public static StackFrame Create( StackFrameDetails stackFrame, int id) { return new StackFrame { Id = id, Name = stackFrame.FunctionName, Line = stackFrame.LineNumber, Column = stackFrame.ColumnNumber, Source = new Source { Path = stackFrame.ScriptPath } }; } #endif } }