Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Javascript IDE


  • Please log in to reply
2 replies to this topic

#1 jwxie518


    Speaks fluent binary

  • Senior Member
  • PipPipPipPipPipPip
  • 517 posts

Posted 06 August 2011 - 12:35 PM

I have tried many Javascript IDE.
Aptana seems to be the best, yet, I don't understand how to use the debugger. I already installed Firebug, and I can see the wrapper.

Say I want to run

var hellostring = "string";

I want to call hellostring, and output "string"

I can do this using the built-in debugger in the browser (for example, using Chrome).
Is there a solution to this?

Do I always have wrap my code around HTML? I am getting frustrated at how to develop javascript projects. I understand that JS needs HTML...

  • 0

#2 WingedPanther73


    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 06 August 2011 - 01:33 PM

What are you trying to do?

Generally, you will need an html element that has an onclick event that calls a javascript function. You can then use FireBug to set a breakpoint on the function that will be called, and use it to monitor the state of the function's execution. Trying to debug Javascript outside of a function will be challenging.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/

#3 haltox


    CC Regular

  • Just Joined
  • PipPipPip
  • 29 posts

Posted 09 August 2011 - 04:25 AM

You want to output hello how? document.write it? console.log it? alert it? And when is your code executed? Remember you can't access the DOM elements before the page is loaded!
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download