Skip to content

Instantly share code, notes, and snippets.

@pschichtel
Created November 13, 2019 00:54
Show Gist options
  • Save pschichtel/258dc861efb4bcc62a95326155ef28cf to your computer and use it in GitHub Desktop.
Save pschichtel/258dc861efb4bcc62a95326155ef28cf to your computer and use it in GitHub Desktop.
Arch Debug Build
#!/usr/bin/env bash
here="$(readlink -f "$(dirname "$0")")"
export PKGDEST="${here}/out"
makepkg --config "${here}/makepkg.conf" --sync --asdep -f
#!/usr/bin/env bash
sudo journalctl /usr/bin/gnome-shell -b0 | grep -A 30 "== Stack trace for context"
#!/usr/bin/env sh
sudo gdb -p $(pgrep -U $USER -x gnome-shell) -batch \
-ex "set logging on" \
-ex "bt full" -ex "call (void) gjs_dumpstack()" \
-ex quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment