Dear all!
I think I found the root cause: in the side menu of vscode, one can tick mark whether execution is stopped and the editor is focused to the respective line of code upon certain exceptions:
Make sure, that “Uncaught Exceptions” is not marked, otherwise- I reckon - the RerunException issued by streamlit will be caught and lead to the breaks I have described above.
Happy scripting!
Markus