You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly the debugger can help. But I fail to get anything more useful than implementing one of the above things without changing the code. Anyway, redirect stdout: python3 -m pdb ./xxx/theCodeToDebug.py
(pdb) !import sys
(pdb) !sys.stderr = open("~/fuse_debug.txt", "w")
c
The debugger is left when main() is called, and I know no possibility to avoid this.
Activity
[-]Debugging an crash[/-][+]Debugging a crash[/+]SimonHeimberg commentedon Jul 24, 2024
You already tried
-f, which often helped me. 🤔Suggesting some ideas:
stdout to file
Then see if any error gets written into ~/.fuse_debug.txt
redirect traceback
Or a similar idea, write your own function replacing
sys.get_traceback()to do custom printing, see https://docs.python.org/3/library/sys.html#sys.excepthook or http://stackoverflow.com/questions/6234405/ddg#16993115debugger
Possibly the debugger can help. But I fail to get anything more useful than implementing one of the above things without changing the code. Anyway, redirect stdout:
python3 -m pdb ./xxx/theCodeToDebug.pyThe debugger is left when main() is called, and I know no possibility to avoid this.