DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search


You are not logged in.

Announcement

When reporting a problem or a bug :
* Provide your OS version (INCLUDING service pack) and installed IE version.
* Provide your IETester version
* Provide the IE Tab version opened to generate the problem
* Provide a test case with a sample url or sample code to reproduce the problem
* Provide a step by step explanation on how to reproduce the problem.
* If needed provide additional information.

Thanks.

#1 2009-09-25 10:54:12

Emil G.
New member
Registered: 2009-09-25
Posts: 7

Fatal error using Companion.JS with IE6 and "localhost" server

Hi all

I've just installed v0.5 within my old IE6. It works perfect ...

BUT

for developping purposes, I use a local Apache server in my computer. When I load a page from my "localhost" web, It produces a fatal error on IE (IE6 stops and produces a dump file) when console.log is called, whereas same page is working fine (Companion.JS works fine) when loaded from an "external" server ... If I desactivate Companion.JS, no more problem on localhost.

Anyone has an idea to fix this strange problem ?


Configuration :
Windows XP
IE v.6.0.2900
MS Debugger v. 1.0.7295
Companion.JS v0.5

In advanced options/ browser, both "script debug" options are activared.

Offline

 

#2 2009-09-25 10:56:47

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1182
Website

Re: Fatal error using Companion.JS with IE6 and "localhost" server

Strange.

Can you provide a basic HTML page that is crashing IE?

Does it happens only when using console.log ? What arguments do you have on your console.log call ? Can you try with a simple text on console.log ?

Thanks.

Offline

 

#3 2009-09-25 12:26:15

Emil G.
New member
Registered: 2009-09-25
Posts: 7

Re: Fatal error using Companion.JS with IE6 and "localhost" server

I've tried console.log on a simple text ... and it works.

So my trouble comes from a difference between my "local environment" and "server environment".

After a deeper investigation, I found it ... and resolved it. I forgot to desactivate "console.log" declaration as a custom function (used before installing Companion.JS). Once desactivated, everything is normal.

I can therefore say that Companion.JS works perfectly on local environment.

Anyway, in my opinion  the fatal error should not be normal. Only a JS error should have happened if trying to declare a function that already exists. I can give you my JS source code if you wish to investigate this point.

Thanks Fabrice.

Offline

 

#4 2009-09-25 13:50:42

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1182
Website

Re: Fatal error using Companion.JS with IE6 and "localhost" server

Yes, I am interested by this bug. If you can provide an url or sample code so I can reproduce the problem that would be nice.

Thanks.

Offline

 

#5 2009-09-25 13:54:54

Emil G.
New member
Registered: 2009-09-25
Posts: 7

Re: Fatal error using Companion.JS with IE6 and "localhost" server

just add this line to your JS code :

console.log=function(){};

and IE will probably crash

Offline

 

#6 2009-09-29 13:02:23

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1182
Website

Re: Fatal error using Companion.JS with IE6 and "localhost" server

Hi,

The problem is identified. A new Companion.JS version will be released soon with a correction of this bug.

Offline

 

#7 2009-09-29 14:21:24

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1182
Website

Re: Fatal error using Companion.JS with IE6 and "localhost" server

Hi,

The new Companion.JS v0.5.1 is correcting this problem.

Offline

 

Partners : Debugbar | Mobilier de bureau | Debugbar Wiki | IEForge | Lampes design | La fourmi créative