clan-app: Add pygdb.sh for debugging crashes in webview-lib
This commit is contained in:
5
pkgs/clan-app/pygdb.sh
Executable file
5
pkgs/clan-app/pygdb.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
PYTHON_DIR=$(dirname "$(which python3)")/..
|
||||
gdb --quiet -ex "source $PYTHON_DIR/share/gdb/libpython.py" --ex "sharedlib $WEBVIEW_LIB_DIR/libwebview.so" --ex "run" --args python "$@"
|
||||
Reference in New Issue
Block a user