зеркало из https://github.com/mozilla/gecko-dev.git
- venkman only -
record last stack depth. when the stack depth changes, we display a frame header in the console for single step mode.
This commit is contained in:
Родитель
5988811887
Коммит
dca50422f3
|
@ -62,15 +62,6 @@ function startupTests()
|
|||
{
|
||||
if (0)
|
||||
{
|
||||
/*
|
||||
dispatchCommand ("fbreak ContextMenu 199");
|
||||
|
||||
function loaded (data, url)
|
||||
{
|
||||
showNextSourceLine (url, 100);
|
||||
}
|
||||
loadSource ("chrome://venkman/content/venkman-debugger.js", loaded);
|
||||
*/
|
||||
openDialog("chrome://venkman/content/tests/tree.xul", "", "");
|
||||
}
|
||||
|
||||
|
@ -393,6 +384,8 @@ function init()
|
|||
new RegExp ("(\\S{" + MAX_WORD_LEN + ",})"),
|
||||
insertHyphenatedWord);
|
||||
|
||||
console._lastStackDepth = -1;
|
||||
|
||||
initDebugger(); /* debugger may need display() to init */
|
||||
|
||||
display(MSG_HELLO, MT_HELLO);
|
||||
|
|
Загрузка…
Ссылка в новой задаче