debug


ïż function runDebug(){ setTimeout("displayStepNo()", 1000); setTimeout("displayPageStatus()", 1000); setTimeout("displayPageStatus()", 1000); setTimeout("displayPageVariables()", 1000); setTimeout("updateLog()", 1000); getPageStatuses(); } function getPageStatuses(){ document.getElementById("pageName").value=parent.frames.content.page.id; document.getElementById("pageType").value=parent.frames.content.page.pageType; document.getElementById("pageStatus").value=parent.frames.content.page.pageStatus; document.getElementById("pageScore").value=parent.frames.content.lms.getPoints(); } function displayStepNo(){ document.getElementById("step").value=(parent.frames.content.page.stepIndex-1); setTimeout("displayStepNo()", 500); } function displayPageStatus(){ document.getElementById("pageStatus").value=parent.frames.content.lms.getStatus(); setTimeout("displayPageStatus()", 1000); } function displayPagepoints(){ document.getElementById("pageScore").value=parent.frames.content.lms.getPoints(); setTimeout("displayPagepoints()", 1000); } function displayPageVariables(){ var v=parent.frames.content.me; for (var k in v) { document.getElementById("var__"+k).value=v[k].toString(); } setTimeout("displayPageVariables()", 1000); } function executeCommand(){ eval("parent.frames.content."+document.getElementById("cmd").value); } function updateLog(){ document.getElementById("log").innerHTML=parent.frames.content.log.m_debugLog; setTimeout("updateLog()", 1000); } page name: page type: page status: page score: page step: User variables var v=parent.frames.content.me; for (var k in v) { document.write(''+k+': '); } Command line: Logs:

Wyszukiwarka

Podobne podstrony:
debug
Debug Guides V3
debug
debug
manifest merger debug report
debug
function debug backtrace
debug
debug ots
explore2fs debug log
Debug guide level 3 W220
debug
debug
Disable Debug Scripting in Internet Explorer (2)
debug
2009 06 Bug Bumper Get Started with Strace and Debug Faster
CMSIS debug support
debug ts

więcej podobnych podstron