Forgot to commit a file this morning that actually makes the Drosera console open...
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jul 2006 04:26:01 +0000 (04:26 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jul 2006 04:26:01 +0000 (04:26 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15369 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/Drosera/debugger.js

index 7f9bcb459599fc498f7fa495242b6c3dad31fc5c..88ab43652d8ae84c12bffe3d35a14b2c685ffa56 100644 (file)
@@ -41,6 +41,7 @@ var steppingOut = false;
 var steppingOver = false;
 var steppingStack = 0;
 var pauseOnNextStatement = false;
 var steppingOver = false;
 var steppingStack = 0;
 var pauseOnNextStatement = false;
+var consoleWindow = null;
 
 ScriptCallFrame = function (functionName, index, row)
 {
 
 ScriptCallFrame = function (functionName, index, row)
 {
@@ -845,3 +846,9 @@ function willLeaveCallFrame(sourceId, line)
     if ((steppingOver || steppingOut) && steppingStack >= 1)
         steppingStack--;
 }
     if ((steppingOver || steppingOut) && steppingStack >= 1)
         steppingStack--;
 }
+
+function showConsoleWindow()
+{
+    if (!consoleWindow)
+        consoleWindow = window.open("console.html", "console", "top=200, left=200, width=500, height=300, toolbar=yes, resizable=yes");
+}