- This topic has 3 replies, 2 voices, and was last updated 18 years, 10 months ago by Greg.
-
AuthorPosts
-
Ashutosh JindalMemberHello,
When i try to launch the JS Debugger i get the following error :
Here is the exact alert message that i get :
—————————
javaw.exe – Unable To Locate DLL
—————————
The dynamic link library MSVCP71.dll could not be found in the specified pathHere is info related to MyEclispe (4.1M2)
*** Date: Fri Dec 23 15:36:32 GMT+05:30 2005
*** System properties:
OS=Windows2000
OS version=5.0
Java version=1.4.2_03*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.200 M2
Build id: 20051205-4.1-Milestone2*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
G:\Eclipse 3.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
314_7c
-vm
C:\Java\jdk\bin\javaw.exeAlso,
Here is the error log when this happens:
com.jniwrapper.LibraryNotFoundException: C:\Program Files\MyEclipse 4.1M2\eclipse\plugins\com.genuitec.javascript.debug.mozilla_4.0.200\XPCOM\bin\xpcom.dll
at com.jniwrapper.Library.loadLibrary(Native Method)
at com.jniwrapper.Library.a(SourceFile:133)
at com.jniwrapper.Library.load(SourceFile:128)
at com.jniwrapper.Library.getFunction(SourceFile:245)
at com.jniwrapper.Library.getFunction(SourceFile:263)
at com.jniwrapper.xpcom.XpcFunctions.initializeImpl(XpcFunctions.java:73)
at com.jniwrapper.xpcom.XpcFunctions.initialize(XpcFunctions.java:66)
at com.genuitec.javascript.debug.mozilla.MozillaPlugin$1.run(MozillaPlugin.java:69)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
at com.genuitec.javascript.debug.mozilla.MozillaPlugin$MozillaEventLoop.run(MozillaPlugin.java:80)
at java.lang.Thread.run(Thread.java:534)And the associated message is :
Could not initialize XPCOM functions
However, i checked that the xpcom.dll is present and also tried copying the same into c:\winnt\system32 folder but got the same error as before.
GregMemberCan you send us your system profile information? Like Windows version and patch level.
Also, do you have the MSVCP71.dll file located in your C:\windows\system32 ? Because it appears that the XPCOM.dll can’t find the MSVCP71 dll file.
Ashutosh JindalMemberHello,
Thanks for the info about the missing dll. That’s correct. The file MSVCP71.dll was not present in c:\winnt\system32 so i downloaded a copy of the file from http://www.dll-files.com into the system32 directory. Now i do not get the above mentioned error, but, the execution is not stopping at the breakpoints within the javscript. Only once it did so but after that i was not able to get the execuition to stop at any of the breakpoints.
I have a jsp which has a login username and password field. On click of the submit button a javascript function called validateForm is called. I had put a breakpoint at the appropriate line by double clicking on the left hand side bar.
Thanks for the response!
Regards,
AJ
GregMemberAJ,
We are still in the process of improving our javascript debugging support inside JSP files. If you could send a sample test case that demostrates a problem you are having, we can try to address it. You can either post some sample code to this topic or send a email that has ATTN GREG and this thread referenced and I will make sure the developers get a copy.
To make the debugger work better with JSPs for right now, until our next release, you could put your javascript code in an external file and just link to it from your JSP file that you are the running.
-
AuthorPosts