Jump to content

Javascript IDE

- - - - -

  • Please log in to reply
2 replies to this topic

#1
jwxie518

jwxie518

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,180 posts
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...

Thanks

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 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
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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
haltox

haltox

    Newbie

  • Members
  • PipPip
  • 29 posts
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!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users