I want to run the line profiler in the module, but even when I restart the module itself and run it %reload_ext line_profiler, the source text will not be updated - the line numbers are still correct, but the text shows outdated text. Updating only iPython and loading the line and module profiler again forces the text to be updated.
How to update source code without rebooting ipython?
source
share