3 ms·
Can you set a breakpoint inside a lambda function without resorting to using multi line trickery using braces that essentially does what people say lambdas shou
by uberman 3y ago
Can you set a breakpoint inside a lambda function without resorting to using multi line trickery using braces that essentially does what people say lambdas should not do?
- maxcoder4 3y agoNot the OP, but I program professionally in Python for the past 5 years and i have never set a breakpoint. Assuming they don't work in lambdas (sounds like a tooling issue), is this really such a big problem?
- quibono 3y agoDepending on what you're doing this can be really annoying.
- constantcrying 3y ago>Not the OP, but I program professionally in Python for the past 5 years and i have never set a breakpoint. This means you are either one of the best or one of the worst programmers. People in the middle have bugs in their program and can use a debugger to find them. >sounds like a tooling issue The tool, in this case, being the interpreter. Which is exactly the point.
- wodenokoto 3y agoNo, but I also can’t set one in the middle of a chain of methods. In Python it’s quite common to have to refactor in order to debug.