|
|
|
|
|
by maccard
1905 days ago
|
|
> the cost of using print is extremely small, smaller at least than breakpoints. I don't think it is, at all. The cost of using print is re-running your applciation with a code change, whereas the cost of a breakpoint is re-running your application with a breakpoint. Clicking in a gutter in an editor, pressing a keyboard shortcut, or typing "b <line number>" into your debugger is no more time or effort than adding a print statement, and re-running your program. |
|