// Licensed Materials - Property of IBM // // IBM Cognos Products: pps // // (C) Copyright IBM Corp. 2005, 2017 // // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. // Debug Library (optional) function Debugger () { window.onerror = function (msg,url,line){ alert("Line " + line + ": " + msg); return true; }; //Member assignment... this.debugWin = open("", "debugWindow", "directories=no,hotkeys=no,innerHeight=500,innerWidth=300,location=no,menubar=yes,screenX=0,screenY=0,scrollbars=yes,resizeable=yes,status=no,titlebar=no,toolbar=no"); this.maxDebugLength = 100; this.startTime = new Date(); this.level = 1; if (typeof pdbSettingLevel == "number") this.level = pdbSettingLevel; this.dumpObjects = false; if (typeof pdbSettingObjectDump == "boolean") this.dumpObjects = pdbSettingObjectDump; this.appendOutput = false; if (typeof pdbSettingAppendOutput == "boolean") this.appendOutput = pdbSettingAppendOutput; this.fontSize = 1; if (typeof pdbSettingFontSize == "number") this.fontSize = pdbSettingFontSize; //Function assignment... this.out = pdbPrintMsg; this.dump = pdbDumpObject; this.dumpArgs = pdbDumpArguments; this.getObjectName = pdbGetObjectName; this.getFunctionName = pdbGetFunctionName; this.checkHide = pdbCheckHide; if (!this.appendOutput) { this.debugWin.document.close(); this.debugWin.document.open(); } if (!this.debugWin.document.title || this.debugWin.document.closed) { this.debugWin.document.write("PPWeb Debug"); this.debugWin.document.write("*** Start ***

*** Start ***