Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger engine component #7

Open
TheRealKaup opened this issue Jul 2, 2023 · 1 comment
Open

Debugger engine component #7

TheRealKaup opened this issue Jul 2, 2023 · 1 comment
Labels
logging Logging system

Comments

@TheRealKaup
Copy link
Owner

TheRealKaup commented Jul 2, 2023

  • File logging (optionally rotatable), user sets a file to log to and logs get written there.
  • Terminal logging, prints rotating logs to the lines that come after IO's image, makes sure those aren't erased and are visible without flickering. Perhaps can also be scrolled with special keys.
  • Log content:
    • Log index
    • Type, can be filtered (operating - text describes what will happen next / info - text describes a certain piece of information / warning - text describes something that should not happen, such as user accessing an empty memory container)
    • Severity, can be filtered
    • Time
    • Calling structure's info (name, shortened address)
    • Text
    • Unique color for each structure (if in terminal)
@TheRealKaup TheRealKaup added the enhancement Makes things better yet doesn't inherently fix something that isn't working properly label Jul 2, 2023
@TheRealKaup TheRealKaup self-assigned this Jul 2, 2023
@TheRealKaup TheRealKaup added missing logging Logging system and removed enhancement Makes things better yet doesn't inherently fix something that isn't working properly labels Sep 25, 2023
@TheRealKaup TheRealKaup removed their assignment Nov 5, 2023
@TheRealKaup TheRealKaup changed the title Logging system Debugging Feb 26, 2024
@TheRealKaup TheRealKaup changed the title Debugging Debugger engine component Feb 26, 2024
@TheRealKaup
Copy link
Owner Author

There isn't any large program made with KTech that could benefit from these features, which is why they sound irrelevant or excessive. Debugging the engine using logs made by the engine itself, is, according to my experience doing so, not as easy and helpful as instead simply building with debug symbols and breaking with GDB; this proposed Debugger engine component is indeed for games made with KTech rather than KTech itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logging Logging system
Projects
None yet
Development

No branches or pull requests

1 participant