python interactive console debugger
已回答
During interactive shell in python console, I saw debugger is launched but nothing can be done in debugger itself. Is that right?
Enabling "show variable" in console can show variable but can't evaluate anything. Is there a way to alt+F8 to evaluate anything in interactive shell?
请先登录再写评论。
Hello!
Could you please specify, what do you mean by "nothing can be done in debugger itself"? If you want to execute some debugger's actions, you should suspend your program at a breakpoint (by calling function with breakpoint from the interactive shell). After that all functionality of the debugger will be available.
Please also see https://www.youtube.com/watch?v=JcOCNgXXhmE.