Public bug reported:
Using the following test case I'd expect that entering the quit command
the code containing the ipdb import would exit immediately. This is not
the case and the code continues to run. Here's a test case:
#!/usr/bin/python3
word = 'the word'
from ipdb import set_trace; set_trace()
print('bird is %s' % word)
This is the failure:
$ ./ipdb-test.py
> /tmp/ipdb-test.py(5)<module>()
1 #!/usr/bin/python3
2
3 word = 'the word'
4 from ipdb import set_trace; set_trace()
----> 5 print('bird is %s' % word)
ipdb> quit
bird is the word
With the fix:
$ ./ipdb-test.py
> /tmp/ipdb-test.py(5)<module>()
2
3 word = 'the word'
4 from ipdb import set_trace; set_trace()
----> 5 print('bird is %s' % word)
ipdb> quit
Exiting Debugger.
This affects both python3 and python2.7 ipdb in Artful. Package version
5.1.0-3.
** Affects: ipython (Ubuntu)
Importance: Medium
Status: Triaged
** Tags: artful
** Tags added: artful
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711741
Title:
quit in ipdb does not immediately exit the debugger
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipython/+bug/1711741/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs