-
Notifications
You must be signed in to change notification settings - Fork 21
5) Debugging
Maxim Umansky edited this page Mar 11, 2020
·
1 revision
With GDB:
If haven't done so, recompile with the debug flag -g in Makefile.Forthon. Next, go to the directory where the studied case is, start gdb with python, and run your upper level script there:
- cd your_path
- gdb python
- (gdb) run your_script.py
With TotalView:
- start TotalView
- start a new Program Session
- In File Name put your Python executable, e.g., /usr/local/anaconda/bin/python
- In Arguments put your upper level script, e.g., runcase.py
- Press LOAD SESSION button
test sidebar