eclipse gets stuck when trying to launch static web on local host - eclipse

I am trying to run a static web page on my mac (Yosemite 10.10.2) using eclipse Luna.
When I run it for the first time it works perfectly fine. But as soon as I exit from eclipse, reopen it and click on run button then HTTP Preview progress gets stuck at 100% while showing:
Preparing Launch delegate ... Launching delegate
The only workaround I've found so far is to exit eclipse, delete the whole workspace folder and run eclipse again. It works but it's so annoying. I tried this before with mountain lion OS and eclipse kepler and same thing happens.
I really appreciate your help.

It worked for me after eclipse restart.

Had same problem and it turns out that my mistake was changing /etc/hosts file configuration for 127.0.0.1. After removal of config changes, server worked.

Related

How To Fix VSCode: Exception has occurred: ReferenceError: closeDescriptionPopup is not defined

Not sure how this problem specifically occurred. I've been doing some googling trying to narrow down what exactly is going wrong as my project was fine a few days ago. When i attempt to debug my VSCODE project i'm presented with this error.
this is a picture of my launch.json file:
Also, this an error if it helps displayed in the debug console.
Things i've tried so far,
Rebooting the computer
Uninstalling and Reinstalling VSCODE as well as disabling extensions
Creating a new VSCODE Project to attempt to debug
Deleting the launch.json file and creating a new one
just delete the launch.json file and it will work again
After spending some time debugging I solved this problem by simply installing npm packages, I executed command npm i
Just make sure that your npm packages are all installed and none is failing.
Hopefully this helps you or someone with the same issue.
I've solve this problem.
Remove the launch.json file and do not replace it.
Just try to build with F5 button.
Start Debugging from within VSCode
run npm start from a separate terminal and wait for the server to start
refresh the page in your browser
My intuition is that this would create 2 instances of the server binding to the same port and cause a bunch of problems. I'm not sure why, but in my case it worked as expected and let me debug with breakpoints normally.
You don’t need to use the VS Code run button with Live Server. You just right-click the HTML file in explorer and use the menu option “Open with Live Server”.

Eclipse hangs when trying to load org.eclipse.e4.ui.css.swt

I have been using Eclipse Luna on Mac OS 10.13 for quite some time. It started hanging when I try to open the app. Eclipse hangs on "loading org.eclipse.e4.ui.css.swt". (See attached screenshot).
enter image description here
I guess the problem is in my user account, as Eclipse starts OK with a blank workspace when opened from another user account.
I tried deleting the .metadata folder in my workspace and the .eclipse folder in my home directory as suggested in some other threads here, but this didn't help.
Any ideas what else should I clean or reinstall?
Thanks,
Irina Popova
In case someone will stumble upon this.
Occasionally Eclipse Luna is going nuts about external monitor or multi-monitor setup. Crashes unexpectedly, after restart freezes on "loading org.eclipse.e4.ui.css.swt" message.
Restart Eclipse without external monitors and reconnect them back.

Unable to launch VSCode

I am running into an issue with Visual Studio code where i could not able to launch it in Windows 8.1. It is working fine untill few days back. Even though it shows two processes named Code 32 bit are running in Task Manager, i cannot see the VSCode UI. I tried going to folder and right click and click on Open with Code, but no luck.
Even after uninstall and installing the VSCode also, i am running into same issue. Does anyone face this issue before?
Is there a way i can clean uninstall VSCode and re install?
Thanks,
Phani
Did you try AppData\Local\Code\bin\code.cmd ?
vscode is running by update.exe

Erlang Eclipse not responding when try to run

I am trying to run Erlang compiler from Eclipse but it continuously shows nothing or Eclipse becomes not responding. According to one of these tutorials,
http://www.youtube.com/watch?v=lrkhIGzCr3Q
when I press the run button, tt must show me Erlang console window for me to interact with but my Ecllipse with Erlide does not show me anything and sometimes it become not responding. I have tried few possible solutions for the issues including
// including this in eclipse.ini -Derlide.runtime=/path/to/your/erlang/installation/directory
http://erlide.org/blog/2013/03/10/problems-at-first-start/
// Adding Erlang installation path to environment variables
http://myadventuresincoding.wordpress.com/2009/02/11/erlang-getting-started-and-using-eclipse/
// reinstalling erlide with new Eclipse copy
However, I still cannot run Erlang on Eclipse properly. I am happy to explain furthermore about the issue I am having and I hope to receive suggestions.
I solved it by doing a couple of things
1) reinstalling current Erlide plugin on Eclipse with http://erlide.org/update_nightly/
2) making sure go to
run -> run configuration -> runtimes
and set to "short name"
I hope this helps anyone. Good luck

eclipse program stops at launching 27%

i just installed eclipse 3.5.2 on my ubuntu 10.04 and also the ADT and the plugins for the android api.
When i first run an app lets say test.java it works great, but if i make a change and try to run it again the emulator doesnt works and at the down right corner displays this message :
"Launching Test: (27%)" and the emulator displays the program as it was without taking effect by the new changes.
You can check what i said at the right bottom of the pic.
thanx
The issue happens when launching the first emulator from the Run button in Eclipse.
To avoid:
Start Eclipse
Window -> AVD Manager
Start an emulator
Run the project