Firefox使用Firebug中debug視圖下的step into, step over等按鈕需要先設置javascript腳本的斷點
debug視圖中包括step into和step over等按鈕,這些按鈕在通常的情況下是無效的,如果需要單步調(diào)試javascript代碼,可以在相應的javascript代碼處設置斷點,然后刷新頁面。
[Firebug簡介]
當前版本:1.05
Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
在您瀏覽時集成在Firefox中的Firebug能讓您對于大量開發(fā)工具了如指掌。您可以實時在任何瀏覽的頁面中編輯、調(diào)試、監(jiān)視CSS,HTML和JavaScript。
Visit the Firebug website for documentation, screen shots, and discussion forums:
訪問Firebug站點可以獲得文檔、效果圖和討論論壇。
[Firebug發(fā)布網(wǎng)址]
https://addons.mozilla.org/en-US/firefox/addon/1843
[Firebug站點]
http://www.getfirebug.com
[Firebug文檔]
http://www.getfirebug.com/docs.html
[Firebug的bug]
http://code.google.com/p/fbug/issues/list
[Firebug視圖]
Console 控制臺
Script 腳本
DOM 文檔對象結構
Net 網(wǎng)絡
[Firebug的console API]
console API文檔, http://www.getfirebug.com/console.html
console.time()用于計算時間
[Firebug常見問題]
在FireBug的console對象輸出時,需要注意第一個參數(shù)被自動識別為格式字符串
Firefox使用Firebug中debug視圖下的step into, step over等按鈕需要先設置javascript腳本的斷點
文章出處:DIY部落(http://www.diybl.com/course/1_web/javascript/jsjs/2007927/74522.html)