[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eDebugInfo is a class that provides additional debugging information, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes fields \u003ccode\u003eDetailFieldNumber\u003c/code\u003e and \u003ccode\u003eStackEntriesFieldNumber\u003c/code\u003e, representing the field numbers for the "detail" and "stack_entries" fields, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties like \u003ccode\u003eDescriptor\u003c/code\u003e, \u003ccode\u003eDetail\u003c/code\u003e, \u003ccode\u003eParser\u003c/code\u003e, and \u003ccode\u003eStackEntries\u003c/code\u003e to access message metadata, debugging details, a message parser, and the stack trace entries.\u003c/p\u003e\n"],["\u003cp\u003eDebugInfo offers methods such as \u003ccode\u003eCalculateSize\u003c/code\u003e, \u003ccode\u003eClone\u003c/code\u003e, \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eMergeFrom\u003c/code\u003e, \u003ccode\u003eToString\u003c/code\u003e, and \u003ccode\u003eWriteTo\u003c/code\u003e for various operations, including cloning, merging, calculating size, and writing data.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor \u003ccode\u003eDebugInfo()\u003c/code\u003e and a copy constructor \u003ccode\u003eDebugInfo(DebugInfo other)\u003c/code\u003e that allows for creating a new instance from an existing \u003ccode\u003eDebugInfo\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Class DebugInfo (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.DebugInfo)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Rpc.DebugInfo)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Rpc.DebugInfo)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Rpc.DebugInfo) \n\n public sealed class DebugInfo : IMessage\u003cDebugInfo\u003e, IEquatable\u003cDebugInfo\u003e, IDeepCloneable\u003cDebugInfo\u003e, IBufferMessage, IMessage\n\nDescribes additional debugging info. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DebugInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DebugInfo](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.DebugInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DebugInfo](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.DebugInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DebugInfo](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.DebugInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Rpc](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll\n\nConstructors\n------------\n\n### DebugInfo()\n\n public DebugInfo()\n\n### DebugInfo(DebugInfo)\n\n public DebugInfo(DebugInfo other)\n\nFields\n------\n\n### DetailFieldNumber\n\n public const int DetailFieldNumber = 2\n\nField number for the \"detail\" field.\n\n### StackEntriesFieldNumber\n\n public const int StackEntriesFieldNumber = 1\n\nField number for the \"stack_entries\" field.\n\nProperties\n----------\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### Detail\n\n public string Detail { get; set; }\n\nAdditional debugging information provided by the server.\n\n### Parser\n\n public static MessageParser\u003cDebugInfo\u003e Parser { get; }\n\n### StackEntries\n\n public RepeatedField\u003cstring\u003e StackEntries { get; }\n\nThe stack trace entries indicating where the error occurred.\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public DebugInfo Clone()\n\n### Equals(DebugInfo)\n\n public bool Equals(DebugInfo other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\n### MergeFrom(DebugInfo)\n\n public void MergeFrom(DebugInfo other)\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)"]]