Skip to content

[Feature] Implement pragma #pragma debug_info, which reports environment and debug information #712

@Luna-Klatzer

Description

@Luna-Klatzer

Is there an existing proposal for this?

  • I have searched the existing issues

This feature does not exist in the latest version

  • I am using the latest version

Proposal

Implement a new pragma command debug_info, which tells the compiler to insert a specific debug reporter function in the script, which on start reports debug information about the compiler version, environment state and general important info helpful in identifying issues tied to the runner environment.

Exact behaviour / changes you want

  • Add a new pragma command debug_info, which sets a specific flag in the compiler.
  • Add an additional compiler flag debug_info, which can also be turned on programmatically.
  • Add debug_info function, which can be optionally inserted into the target output.

Metadata

Metadata

Assignees

Labels

featureNew feature or enhancement

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions