運行程序 |
runs [args] |
F5:Start Debugging (開始調試) |
啓動程序 |
start [atgs] |
F10:Step over (逐過程) |
暫停 |
Ctrl+C |
Ctrl-Alt+Break:Break All (全部中斷) |
繼續運行 |
continue(cont, c) |
F5:Continue (繼續) |
step over |
next |
F10:Step over (逐過程) |
step into |
step |
F11:Step into (逐語句) |
step out |
finish |
F11:Step into ; Shift+F11:Step out |
斷點 |
break file:lineno |
右擊Breakpoint/Insert Breakpoint (斷點/插入斷點) |
跟蹤點 |
watch file:lineno |
右擊Breakpoint/Insert Tracepoint (斷點/插入跟蹤點) |
觀察點 |
watch expr |
Debug/New Bkpt/New Dat Bkpt (調試/新建斷點/新建數據斷點) |
棧跟蹤 |
backtrace(bt), where |
Call Stack (條用堆棧) |
輸出表達式 |
print expr |
Immediate Window (及時窗口) |
顯示錶達式 |
display expr |
Watch 監視窗口 |
設置環境 |
set var var=expr |
Variables 變量窗口 |
設置環境變量 |
set env var[=val] |
Properties/Debugging/Environment (屬性/調試/環境) |
顯示機器代碼 |
disassemble |
右擊Go to Disassembly (轉到反彙編) |
在機器代碼中執行step-over |
nexti |
F10:Step over |
在機器代碼中執行step-into |
stepi |
F11:Step into |