![](/img/trans.png)
[英]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.