Skip to content

Report Godot errors with a script stack trace #4

@limbonaut

Description

@limbonaut

It would be nice to have errors reported with a timestamp that happened prior to a crash or event.

Image

Logging is managed by https://github.com/godotengine/godot/blob/master/core/io/logger.h
This functionality is not exposed in Godot API, and as such cannot be used in GDExtension/GDScript.

AFAIK, there are two PRs possibly landing in Godot that expose logging:

For the time being, we can explore a log-based parser and see how performant such approach can be.

UPDATE:

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions