[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: How to work with javascript?

Does your project have both PDT and Javascript natures/builders? How did you create/import the project? What's in the .project file?

Matthew Young wrote:
Hi, I am using PDT for Drupal development.  I can edit, debug.
However, I have two problems:

1.  Javascript show a lot of warnings and errors.  For example,
"function $ is undefined". "$" from jQuery and the jQuery library is
inside the project.  How can I make PDT understand javascript?

2. In debugging, very consistently after the first two times going
through the debugger, subsequenctly I always get


"Error: A Runtime Error has occured.  Do you want to debug? Line: 1
Error: Syntax error"

or

"Error: A Runtime Error has occured.  Do you want to debug? Line: 132
Error: 'jQuery' is undefined"

Pressing "No" would get rid of these error dialogs and allow me to
continue to debug.  However, everytime I hit another breakpoint, I
would get these errors again.

-- Nick Boldt :: http://wiki.eclipse.org/User:Nickb