- This topic has 4 replies, 2 voices, and was last updated 15 years ago by support-shalini.
-
AuthorPosts
-
ronen malkaMemberHi,
When trying to launch an HTML file with a breakpoint in JavaScript, using the new script debugger, it cause the following error
http://cid-6a2fbcda3b21d2cf.skydrive.live.com/self.aspx/.Public/IE^_JSDebuger^_error.jpeg
At this point IE is not responding until I kill the process from MyEclipse.
support-shaliniMemberronenmalka,
I could not replicate this at my end. Can you give some more information?
1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
2. Can you send us some sample code/file to debug? You can use the PM button at the end of the post.
3. Are there any errors in the log file located at workspace dir > .metadata > .log?
ronen malkaMemberHi Shalini,
—————————————————————————————————————————————————
1) Installation Details
*** Date:
Wednesday, December 2, 2009 12:20:56 PM IST** System properties:
OS=WindowsXP
OS version=5.2.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.0
Build id: 8.0-20091120Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files (x86)\Genuitec\MyEclipse 8\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files (x86)\Genuitec\MyEclipse 8\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files (x86)\Genuitec\MyEclipse 8\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files (x86)/Genuitec/MyEclipse 8
-configuration
configuration
-vm
C:/Program Files (x86)/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
—————————————————————————————————————————————————
2) Here is the HTML page I am trying to debug. I put a breakpoint in line #8:
<html>
<head>
<title>Global PAYplus</title>
<LINK REL=”SHORTCUT ICON” HREF=”./images/PAYplus.ico”> </LINK>
</head>
<script language=”javascript1.2″>var iNow = new Date().getTime(); //Used as a Time stamp for hacking test;
//opening window with default size
var newWindow = window.open(“requestLoginPage.html?”+iNow,”_blank”, “titlebar=0,status=0,menubar=0,resizable=1,statusbar=0″);//resizing window according to available screen
newWindow.moveTo(0, 0);
newWindow.resizeTo(screen.availWidth, screen.availHeight);window.opener = window;
window.open(”,’_self’,”);
self.close();
</script>
<body >
</body>
</html>
—————————————————————————————————————————————————
support-shaliniMemberronenmalka,
I still could not replicate this issue. With the above javascript code, I was able to debug as IE Javascript with a break point set at “var iNow …”.
The following are the steps I followed:
1. Right click on the HTML page and from the context menu select Debug As > IE Javascript.
2. When prompted to deploy the application on the a server, selected MyEclipse Tomcat.
3. After the IE window opened, the execution stopped at the set break point and I was able to step through the entire code without errors.
Can you share your project? You can send a mail to support@genuitec.com. Please add ATTN:Shalini in the subject and refer to this post.
This will help us replicate the issue internally.
Also can you tell us how did you install MyEclipse? Using all-in-one installer/pulse/added ME as a plugin on top of eclipse?
support-shaliniMemberronenmalka,
Thank you for the files. I could replicate the issue with websphere 6.1 server.
I have filed a PR with the dev team.Thank you for bringing this to our notice.
-
AuthorPosts