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

core: Add a mechanism to print the stacktrace on crash using qDebug. #1494

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

AlexandraTrifan
Copy link
Contributor

@AlexandraTrifan AlexandraTrifan commented Oct 13, 2023

This mechanism will only provide a stacktrace on platforms that provide
glibc, thus on Windows we will only have the application log without
any stacktrace. For now it should be enough. Research was done on
boost::stacktrace, breakpad also. In the future, Scopy can pe upgraded to
C++ 23 which will provide a mechanism for crash reporting.

…file.

If the application exists with success, remove the temporary log file.

Signed-off-by: AlexandraTrifan <[email protected]>
This mechanism will only provide a stacktrace on platforms that provide
glibc, thus on Windows we will only have the application log without
any stacktrace. For now it should be enough. Research was done on
boost::stacktrace, breakpad also. In the future, Scopy can pe upgraded to
C++ 23 which will provide a mechanism for crash reporting.

Signed-off-by: AlexandraTrifan <[email protected]>
@adisuciu adisuciu merged commit 139f6cf into dev Oct 17, 2023
18 checks passed
@adisuciu adisuciu deleted the ci-crashrep branch October 17, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants