(translator=PoChien, ChineseSource=PoChien-20020608-6\dbstatus.html, EnglishSource=c:\matlabr12\help\techdoc\ref\dbstatus.html)
MATLAB Function Reference    
dbstatus

列出所有的中斷點.

Graphical Interface

Editor/Debugger 中,在有中斷點的行數的前面,會有圖示表示,你可以以此來找出中斷點.

Syntax

Description

dbstatus 列出包括 error, warning, naninf 時所產生的所有中斷點.

dbstatus function 列出某 M檔案中,中斷點所在的行數列表.

s = dbstatus(...) 將 m 乘 1 的中斷點列表傳給 s,其中資料結構如下:

name
為函數名稱.
line
為函數的行數
cond
為代表狀態的字串 (error, warning, or naninf)

你可以使用  dbstatus class/function , dbstatus private/function 或 dbstatus class/private/function 來決定要列出的方法 (methods), 私有函數(private functions), 或是私有方法( private methods),其中 class 為類別的名稱.在所有這種型式的使用上,你可以用 dbstatus function/subfunction 更進一步的定義函數中的次函數名稱.

See Also

dbclear, dbcont, dbdown, dbquit, dbstack, dbstep, dbstop, dbtype, dbup


  dbstack   dbstep