Show More
@@ -451,7 +451,13 b' class ExecutionMagics(Magics):' | |||
|
451 | 451 | |
|
452 | 452 | if not (args.breakpoint or args.statement or cell): |
|
453 | 453 | self._debug_post_mortem() |
|
454 | elif not (args.breakpoint or cell): | |
|
455 | # If there is no breakpoints, the line is just code to execute | |
|
456 | self._debug_exec(line, None) | |
|
454 | 457 | else: |
|
458 | # Here we try to reconstruct the code from the output of | |
|
459 | # parse_argstring. This might not work if the code has spaces | |
|
460 | # For example this fails for `print("a b")` | |
|
455 | 461 | code = "\n".join(args.statement) |
|
456 | 462 | if cell: |
|
457 | 463 | code += "\n" + cell |
General Comments 0
You need to be logged in to leave comments.
Login now