Link to home
Start Free TrialLog in
Avatar of Chris Stanyon
Chris StanyonFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Debugging Javascript in Aptana Studio 3

Hi,

I'm using Aptana Studio 3 as my IDE for web development (HTML, CSS, PHP and Javascript) but cannot get anything related to debugging to work.

I've setup a debug configuration to open my page using a specific server. I've added a small script to my page, and set several breakpoints.

When I click the debug button (either the config for Firefox or IE), the page loads in my browser, and Aptana switches to the Debug view. It shows the main thread running.

It never stops at any breakpoint - it simply ignores them. It isn't showing a list of variables either. There seems to be no connection whatsoever between Aptana and my browser.

I can't figure out whether I'm doing something fundamentally wrong or this is a bug in the program.

Tried for hours searching the 'net but the docs are pretty useless. A lot of the links to aptana documentation now lead straight to the titanium homepage :(

Avatar of leakim971
leakim971
Flag of Guadeloupe image

Avatar of Chris Stanyon

ASKER

Although it's based on Eclipse, it's the stand alone version I've installed which is supposed to have the javascript debugger built in - no need for plugins.

you can still use the built-in console in firebug, which is a firefox addon for webdevelopers.

https://addons.mozilla.org/de/firefox/addon/firebug/
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Uninstalled and reinstalled the latest version. And I can now now debug my Javascript OK. <br /><br />Figured it all out with some trial and error. Thanks for the answers but none gave me a solution.