I-Language-Development / I-language-rust

The I programming language is a high level programming language written in rust.
https://i-language-rust.readthedocs.io/en/latest/
MIT License
11 stars 2 forks source link

[ENHANCEMENT] Add more details to the crash report #139

Closed ElBe-Plaq closed 5 days ago

ElBe-Plaq commented 2 weeks ago

Is your request related to a problem? Please describe. The current crash report only contains the crash reason, location, log and backtrace. This is sadly not enough to debug efficiently with some systems, where some information, like OS data, hardware info, dependency info or settings are missing.

Describe the solution you'd like Multiple things have to be added to the crash report output, such as:

Describe alternatives you've considered Keep it as is, which might create issues in the feature (currently there have not been such issues).

Additional context This will decrease the level of privacy, which might make it more unattractive to share the crash report for some users.

create-issue-branch[bot] commented 2 weeks ago

Branch issue-139 created!

ElBe-Plaq commented 2 weeks ago

From the official discord server:

Dev Update #9

Here is a quick example for the new crash report with dependency, os, rust and hardware info.

Crash report
============

Reason: Bad food
Location: At home

Log:
    [now - 1s] Bad thing happened
    [real now] Food ruined successfully

Dependency list:
- depa@v1.0.0
- depb@v1.2.3
- std@1.70.0

Rust version: 1.70.0-nightly

OS info:
- Name: MicrowaveOS 11
- Version: 1.2.3.4-special-build

Hardware:
- CPU: MicrowaveCPU 1200 Ghz
- Architecture: x86_64
- Memory usage: 12/34 KB
- CPU usage: 0%

Crash report:
    Okay, I'm not gonna fake data for this, no.