3 ms·
I always thought a debugger was more useful for when you got a big buried in a long execution sequence and produced by unknown combinations of variables. Where
by mxcrossb 7y ago
I always thought a debugger was more useful for when you got a big buried in a long execution sequence and produced by unknown combinations of variables. Where as usually my notebook cells are only a few lines long, and with a very clear state going in. Can any of you speak to the practical need for a debugger in Jupter?
- Hendrikto 7y ago> Where as usually my notebook cells are only a few lines long, and with a very clear state going in. That is only true in one very specific case: When you are executing all code cells in order, from top to bottom, exactly once. If you start executing cells multiple times, or out of order, or even worse, execute only parts of cells (which is possibke in many Jupyter UIs), all bets are off. Anything can happen.