How to debug program when there's a TUI? #639
Answered
by
gyscos
Squirrelcoding
asked this question in
Q&A
-
I'm fairly new to systems programming and I was wondering how you debug when there's a TUI where errors normally go. Normally the error would be logged to the standard output but the TUI is in the way! I don't know how to display errors somewhere else such as a log file, so can anybody help me out here? TL:DR; Since the TUI is in the way, how can I see errors? |
Beta Was this translation helpful? Give feedback.
Answered by
gyscos
Feb 16, 2022
Replies: 1 comment
-
Hi! To debug, you have a few main options:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Squirrelcoding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
To debug, you have a few main options:
cargo run 2> error_file.txt
, andtail -F error_file.txt
in another terminal.