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

프로그램 크래시 발생 시 크래시 리포트 작성 #87

Open
hsheric0210 opened this issue Dec 9, 2023 · 1 comment
Open
Assignees
Labels
Type: Feature request Request of new feature or function

Comments

@hsheric0210
Copy link
Owner

프로그램 크래시 발생 시 현재 구현은 단지 오류 메시지를 메시지 박스로만 한 번 띄워주고 꺼져버림.
만일 실수로라도 메시지 박스를 닫아 버리는 날에는 어떤 오류가 발생했는지 알 수 있는 방법이 없음.
물론 로그 파일을 확인하면 오류를 확인할 수 있는 경우도 있지만, 로그 파일이 여러 개거나 매우 크기가 큰 경우 확인이 어려울 수 있음.

이를 보완하기 위해 프로그램 크래시 발생 시 크래시 보고서를 crashreport_<날자>.txt 와 같은 형식으로 생성하는 것을 제안함.

@hsheric0210 hsheric0210 added the Type: Feature request Request of new feature or function label Dec 9, 2023
@hsheric0210 hsheric0210 self-assigned this Dec 9, 2023
@hsheric0210
Copy link
Owner Author

hsheric0210 commented Dec 12, 2023

리포트 작성 시 단순히 스택 트레이스만을 반환하는 것이 아니라 모든 게임 상태들, 변수 값들 전체를 덤프하는 쪽으로 개선하는 것을 제안한다.
(예시: GameSessionState 개체의 모든 프로퍼티를 덤프한다던지)

물론, 디버그 용도로 '실제로는 프로그램을 크래시시키지는 않으면서' 이러한 모든 정보들을 덤프하는 단축키나 기능 등도 추가해 볼 만 하다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request Request of new feature or function
Projects
None yet
Development

No branches or pull requests

1 participant