I have a python script that is running on my machine like this:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1018 root 24 0 98836 9108 3352 S 0.0 0.1 0:00.03 python /usr/mine.py
This process has been running all day, while it is supposed to run for a few seconds and then to stop.
I wonder if there is a way, to get the current point of the code that is being executed, which is the point that the script is stuck.