> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.5/api/csharp/yarn.compiler/yarn.compiler.debuginfo.md).

# DebugInfo

Class in [Yarn.Compiler](/2.5/api/csharp/yarn.compiler.md)

Inherits from `System.Object`

## Summary

Contains debug information for a node in a Yarn file.

```csharp
public class DebugInfo
```

## Methods

| Name                                                                                                             | Description                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetLineInfo(int)](/2.5/api/csharp/yarn.compiler/yarn.compiler.debuginfo/yarn.compiler.debuginfo.getlineinfo.md) | Gets a [LineInfo](/2.5/api/csharp/yarn.compiler/yarn.compiler.debuginfo/yarn.compiler.debuginfo.lineinfo.md) object that describes the specified instruction at the index `instructionNumber` . |

## Structs

| Name                                                                                                  | Description                                           |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [LineInfo](/2.5/api/csharp/yarn.compiler/yarn.compiler.debuginfo/yarn.compiler.debuginfo.lineinfo.md) | Contains positional information about an instruction. |
