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

Create config for debug builds #218

Closed
pktiuk opened this issue Sep 14, 2021 · 2 comments · Fixed by #243
Closed

Create config for debug builds #218

pktiuk opened this issue Sep 14, 2021 · 2 comments · Fixed by #243
Assignees
Labels
enhancement New feature or request

Comments

@pktiuk
Copy link
Member

pktiuk commented Sep 14, 2021

Allow simple creation of debug builds in cmake.

These builds should have:

  • disabled optimalization
  • enabled printing stacktrace in case of segfault link link2
  • (maybe) simple way of creating stack traces
@pktiuk pktiuk added the enhancement New feature or request label Sep 14, 2021
@pktiuk
Copy link
Member Author

pktiuk commented Sep 14, 2021

I think this will help with #159

@pktiuk pktiuk self-assigned this Sep 14, 2021
@pktiuk
Copy link
Member Author

pktiuk commented Sep 22, 2021

Moreover in regular builds reporting filename and linenumber doesn't work

[15:54:44.277] 🟢INFO "Quitting Program" (file main.cpp:737)
[15:54:44.278] 🐞DEBUG  Display have local data (file x11extras.cpp:84)
[15:54:44.279] 🐞DEBUG  removing main window (file mainwindow.cpp:214)
[15:54:44.291] 🐞DEBUG  Closing logger (file logger.cpp:54)

vs

[12:54:41.542] 🐞DEBUG	Display have local data (file :0)
[12:54:41.543] 🐞DEBUG	removing main window (file :0)
[12:54:41.547] 🐞DEBUG	Closing logger (file :0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant