[英]How to examine stack frames in intellij IDEA python plugin debugger execution is paused?
[英]Debugger Message in IntelliJ Idea
我正在使用 IntelliJ IDE 进行 Python 编程课程,目前介绍如何使用调试器。 所以我得到了以下代码行,在第 4 行代码中有一个断点:
name = input("Please enter your name: ")
age = int(input("How old are you {0}? ".format(name)))
if age < 18:
print("Please come back in {} years.".format(18 - age))
elif age == 900:
print("Sorry, Yoda, you die in the Return of the Jedi.")
else:
print("You are eligible to vote.")
print("Please put an X in the box.")
单击 F8 后,我收到以下消息:
“进程已完成,退出代码为 -1073741510(0xC000013A:被 Ctrl+C 中断)”
但是我的导师也做了同样的事情,他收到了这条信息:
“进程已完成,退出代码为 -1”
为什么会发生这种情况,我的信息是什么意思?
要在代码行上设置断点,请单击间距区域或使用快捷键 Ctrl+F8 (Win/Linux) 或 ⌘ F8 (macOS)。
也许快捷方式也需要命令或控制按钮。 它有时会在 windows 和 mac 上变得棘手。 如果您使用不同的布局外部键盘
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.