Script debugging very strange behavior after error - can't use file name any more.

E

Efy

Hi,

I was debugging my JavaScript in VS2005, the script probably had an
error some ware (Line 25), after I fixed the error, I am trying to run
the page again I am getting the same error "Illegal argument" at
that same line 25.
What ever I did does not help, I have closed the program, I restarted
my computer, I changed the page to contain very simple html script with
no js the error is still there on line 25. I deleted all lines living
only main Tags, having 16 lines in the file so the error is shows on
closing tag of html.
The same exact script on a different file name works just fine.

Very strange!
Where the computer may hold this error with line No.
I have searched the filename in the registry but did not find it
anywhere interesting.

Any Ideas?
Thanks in adv
 
E

Eliyahu Goldin

Efy,

You may be having a caching issue. Try saving the file with current date, it
should instruct browser to re-load it. You can also go to IE-Tools-Options
and delete temporary files.
 
E

Efy

Eliyahu,

First of all thank you for your replay!
Secondly I have tried tonight again to copy the code to it original
file and it worked, seems like what you said.
But, how can it be a catch issue if I restarted my computer?

Thanks again,
Efy.
 
E

Eliyahu Goldin

Efy,

The browser cache consists of local copies of the files the browser
downloads. When the browser needs to get a file from a webserver, it first
checks if the file in its latest version already exists in the cache. If it
does, the local cached version is used instead of the server one. The same
is true even if the web application and the browser run on the same machine,
the browser will check your application files against the cache.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


Efy said:
Eliyahu,

First of all thank you for your replay!
Secondly I have tried tonight again to copy the code to it original
file and it worked, seems like what you said.
But, how can it be a catch issue if I restarted my computer?

Thanks again,
Efy.


You may be having a caching issue. Try saving the file with current date, it
should instruct browser to re-load it. You can also go to IE-Tools-Options
and delete temporary files.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top