Skip to content

Show Dialog When Crashing #16375

Closed Answered by sn4k3
daniel-carr-3000 asked this question in Q&A
Jul 19, 2024 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

I also handle this and present a window to user after the crash:

All you need is to reopen your program and pass arguments and handle that in startup to present your error.

See: https://github.com/sn4k3/UVtools/blob/master/UVtools.UI/App.axaml.cs#L172
And: https://github.com/sn4k3/UVtools/blob/master/UVtools.UI/Program.cs#L184

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@maxkatz6
Comment options

@daniel-carr-3000
Comment options

@dbriard
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by daniel-carr-3000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants