kashiwazakinenji / chromedevtools

Automatically exported from code.google.com/p/chromedevtools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't open JS Editor with .js files. But other files opens OK. #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Google Chrome version: 5.0.356.0 dev
SDK + Eclipse Debugger version(s): 3.5.2
OS + version: Windows 7

What steps will reproduce the problem?
1. Install chromedevtools on clean from update site
2. Try to open any .js file with JS Editor 
3. Try to open any other file

What is the expected result?
I need edit files :)

What happens instead?
I can't edit files

Original issue reported on code.google.com by aka.spin on 20 Mar 2010 at 1:50

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry. Wrong file attached.

Original comment by aka.spin on 21 Mar 2010 at 11:28

Attachments:

GoogleCodeExporter commented 8 years ago
I run Eclipse 3.7 (Indigo), Chromium JavaScript Remote Debugger 
0.3.0.201108190405

Appears that somehow files with more than 5 letters in their name (that is 6 or 
more, excluding the .js extension) are opened just fine.
So if you try to open my.js you get:
java.lang.StringIndexOutOfBoundsException: String index out of range: -4
and opening myDB.js results in:
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
and opening myNewDB.js is of course successfull.

Original comment by ad...@smallpages.net on 9 Sep 2011 at 6:03