Backtrace: Difference between revisions
Jump to navigation
Jump to search
(Created page with "How to do a backtrace to report the crash. == Linux == gdb strawberry run After it crashes do: bt == Windows MinGW == Install the latest debug version from https://builds.strawberrymusicplayer.org/windows/ Open a command prompt. cd \ cd "c:\program files\strawberry music player debug\" gdb strawberry.exe run After it crashes do: bt == macOS == You need to compile according to the instructions: https://github.com/strawberrym...") |
No edit summary |
||
Line 28: | Line 28: | ||
You need to compile according to the instructions: | You need to compile according to the instructions: | ||
https:// | https://wiki.strawberrymusicplayer.org/wiki/Compile_macOS_using_homebrew | ||
To compile in debug you need to use the following cmake command instead of the one in the instructions: | To compile in debug you need to use the following cmake command instead of the one in the instructions: |
Latest revision as of 19:41, 20 February 2023
How to do a backtrace to report the crash.
Linux
gdb strawberry run
After it crashes do:
bt
Windows MinGW
Install the latest debug version from https://builds.strawberrymusicplayer.org/windows/ Open a command prompt.
cd \ cd "c:\program files\strawberry music player debug\" gdb strawberry.exe run
After it crashes do:
bt
macOS
You need to compile according to the instructions:
https://wiki.strawberrymusicplayer.org/wiki/Compile_macOS_using_homebrew
To compile in debug you need to use the following cmake command instead of the one in the instructions:
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_QT6=ON -DUSE_BUNDLE=OFF -DENABLE_SPARKLE=OFF
Then you can run Strawberry in debug with:
lldb ./strawberry.app/Contents/MacOS/strawberry
After it crashes do:
(lldb) thread backtrace (lldb) bt