// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.Runtime
{
///
/// Call frames for assertions or error messages.
///
[System.Runtime.Serialization.DataContractAttribute]
public class StackTrace : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// String label of this stack trace. For async traces this may be a name of the function that
/// initiated the async call.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))]
public string Description
{
get;
set;
}
///
/// JavaScript function name.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("callFrames"), IsRequired = (true))]
public System.Collections.Generic.IList CallFrames
{
get;
set;
}
///
/// Asynchronous JavaScript stack trace that preceded this stack, if available.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("parent"), IsRequired = (false))]
public CefSharp.DevTools.Runtime.StackTrace Parent
{
get;
set;
}
///
/// Asynchronous JavaScript stack trace that preceded this stack, if available.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (false))]
public CefSharp.DevTools.Runtime.StackTraceId ParentId
{
get;
set;
}
}
}