The PyCharm debugger will stop on the line you wish by clicking in the left border.
It works really well.
There is of course no reliable way that it can create an 'automatic Breakpoint'. I guess one could theorize a scenario where a breakpoint could be placed on the instruction prior to the program crash, but in reality this can't be done, Take for instance when the crash occurs in a thread, in addition, the call stack is often destroyed as soon as the crash occurs. Even is it could be accessed, there is no way to insure it's integrity.
It works really well.
There is of course no reliable way that it can create an 'automatic Breakpoint'. I guess one could theorize a scenario where a breakpoint could be placed on the instruction prior to the program crash, but in reality this can't be done, Take for instance when the crash occurs in a thread, in addition, the call stack is often destroyed as soon as the crash occurs. Even is it could be accessed, there is no way to insure it's integrity.