Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] NumberFormatException in when starting JS debug

Hi all,
I have NumberFormatException in DefaultRhinoRunner (line 22) when I'm trying to debug any _javascript_ file.
 
In _javascript_InterpreterRunner vmConfig.setProgramArguments(strings); string array has the following value:
[D:/workspaces/DLTK_runtime/TestJS1/test1.js, , 10000, dbgp_1210170566840]
Note that host value is an empty string. (Is it OK?)
 
In DefaultRhinoRunner  args parameter is next:
[D:/workspaces/DLTK_runtime/TestJS1/test1.js, 10000, dbgp_1210170566840] - no host parameter at all.
 
Obviously the problem is in wrong indexes we use to obtain port, host and session id parameters in DefaultRhinoRunner. But it may also be caused by wrong host value in _javascript_InterpreterRunner.
 
Where should we fix the problem?
 
Regards
Mykola Peleshchyshyn

Back to the top