Showing posts with label debugging. Show all posts
Showing posts with label debugging. Show all posts

Friday, December 31, 2004

Who'd have thought IE was less forgiving...

Beginning Javscripters beware: IE refuses to believe an object exists unless you pre-define it first (outside any conditionals). I'm tempted to say it's like C.
(UPDATE: I am a big idiot. I had to do this because I didn't use the declaration operator "var".

Also, thanks Simon for having a link to MS's script debugger.
To use it, insert debugger in your code. I inserted it as debugger; but I have limited experience with it. It also acts as a break point, so put it after the problem areas. Just remember to take it out when you're done.

Monday, December 13, 2004

Rudimentary Programmin Lesson in Java

I started and my partner finished our programming project for our Internet Technology class. Dumbest errors that wasted a lot of time? Redefining global variables locally and getting NullPointerExceptions. Other error is multi-threading related, but Mike was able to find an interesting workaround. More on that eventually, I hope. Otherwise, Eclipse is a great IDE! Unfortunately, they didn't have it at the lab as I thought. AH! I actually remember now, it was at the Engineering lab that they had Eclipse.