Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
peter_pilgrim
Post subject: Disable Dialog: "You have chosen to debug a JavaScript  PostPosted: Mar 08, 2010 - 11:48 AM
Registered Member
Registered Member


Joined: Oct 26, 2004
Posts: 17

Hello Guy

This warning dialog has been bugging me since MyEclipse 6.5.

I do not have any JavaScript in my current Java EE 5 / JPA / Spring standalone project. Everytime I pres the "Debug" icon in the tool bar I am greeted with this dialog. The message is:

"Warning: You have chosen to debug a JavaScript application using a non-HTML file. For this file to work correctly, you most likely need to modify the URL field to be context of a deployed Web application before continuing with this debug launch."

I repeat I have no JavaScript in my project at all. It is a standalone project, Maven single project with JPA and Spring Framework dependencies.

How do I disable this dialog box?

Thanks

_________________
--
Peter Pilgrim
EE Architect, JUG Leader, Java Champion, JavaFX Rocker
http://jroller.com/peter_pilgrim
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-shalini
Post subject: RE: Disable Dialog: "You have chosen to debug a JavaScr  PostPosted: Mar 09, 2010 - 06:08 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Peter,
Clicking on debug would launch the last debug operation done. Can you first browse to your main class and select Debug As > javascript Application from the context menu, complete the debug cycle and then click on Debug from the toolbar?
Let me know if that helps.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
peter_pilgrim
Post subject: RE: Disable Dialog: "You have chosen to debug a JavaScr  PostPosted: Mar 09, 2010 - 10:45 AM
Registered Member
Registered Member


Joined: Oct 26, 2004
Posts: 17

Why do I have to do this? My application does NOT use JavaScript at all. It is a Java EE application using JPA and Spring. There is no JavaScript involved. I want to turn the JavaScript debug dialog off or disable. There must be a configuration option to do this.

_________________
--
Peter Pilgrim
EE Architect, JUG Leader, Java Champion, JavaFX Rocker
http://jroller.com/peter_pilgrim
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject: RE: Disable Dialog: "You have chosen to debug a JavaScr  PostPosted: Mar 24, 2010 - 11:09 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2281

Peter, what version of ME are you using right now? What editor is active when you hit the debug button?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
pcoates
Post subject: Disable Dialog: "You have chosen to debug a JavaScript  PostPosted: Mar 16, 2011 - 03:32 PM
Registered Member
Registered Member


Joined: Aug 28, 2006
Posts: 1

This issue is driving me quietly insane.

I also am not using JavaScriptt, but when I hit the debug button on the top bar, the IDE apparently randomly decides whether or not to behave in the expected way. Sometimes I will get "You have chosen to debug a JavaScript application using a non-HTML file..." and sometimes I don't. Often it will happen persistently, but by switching to a different view, say SVN or Database, I can jog it back into working correctly. Kicking the vending machine as it were. Occasionally it is so persistent that I have to restart the IDE.

I would be happy to completely disable anything having to do with JavaScript. This problem sometimes gets so bad that I have to stop using the debugger entirely and resort to System.out.println().
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject: RE: Disable Dialog: "You have chosen to debug a JavaScr  PostPosted: Mar 17, 2011 - 10:19 AM



Joined: Nov 11, 2010
Posts: 1241

pcoates,

I could replicate it at my end. I will check with the dev team and get back with their suggestions.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Mar 18, 2011 - 06:33 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2281

I agree this can be very frustrating and irritating behavior. Unfortunately we could not put this into the 9.0 GA release which is due today, but I am targeting a fix for the next release after this.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits