PyCharm的Debug工具欄中的Watches


In the Watches pane you can evaluate any number of variables or expressions in the context of the current stack frame. The values are updated with each step through the application, and become visible every time the application is suspended.

The Watches pane shows multiple expressions that persist from one debug session to another, until you remove them.

Watch expressions are always evaluated in the context of a stack frame that is currently inspected in the Framespane. If an expression cannot be evaluated, it is displayed with a question mark.

 

你能在Watches面板中查看到當前緩存結構中的任何變量和表達式的值。應用執行每一步,這些值都將隨之變化,但當應用遇到斷電中斷時,這些變量就可以看到了。

Watches面板上展示的多個表達式也會出現在其他的session中,除非你手動刪除它們。Watch能顯示出來的表達式或者變量的值,都是能夠檢測出來的表達式或者變量。如果一個表達式沒有報出值,那么它應該是被標記為問題表達式了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM