Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking back out of pdb #37

Closed
DanielPBak opened this issue Jul 16, 2018 · 1 comment
Closed

Breaking back out of pdb #37

DanielPBak opened this issue Jul 16, 2018 · 1 comment

Comments

@DanielPBak
Copy link

Is it possible, after launching pdb through rfdebug, to return to rfdebug? If not, do you believe this would be a useful feature?

@xyb
Copy link
Owner

xyb commented Jul 17, 2018

The pdb command in rfdebug is a private tool for developing debuglibrary, but yeah, maybe it's useful for other robotframework library developers. You should execute the pdb's continue command if you want back to rfdebug, not the exit command:

> pdb
break into python debugger: pdb
--Return--
> /Users/xyb/Projects/webtest/robotframework-debuglibrary/DebugLibrary.py(97)do_pdb()->None
-> pdb.set_trace()
(Pdb) help exit
q(uit) or exit - Quit from the debugger.
The program being executed is aborted.
(Pdb) help continue
c(ont(inue))
Continue execution, only stop when a breakpoint is encountered.
(Pdb) c
> Log to console  rfdebug now
rfdebug now

@xyb xyb closed this as completed Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants