Old 12-24-2011, 03:23 PM   #1
Zoab
Human being with feelings
 
Join Date: Dec 2011
Posts: 3
Default Debugging Suggestions

Hi Everybody,

I am new to JS and would love to know any debugging suggestions you might have.
More specifically,
I currently have a bug in my code. I am trying to understand the debugger which suggests I have a bug in line 30, yet shows me a code portion from line 18. Which of these is the better estimation for the bug's location?

Also, any other light you wish to share with me would be greatly appreciated

Thanks
Zoab is offline   Reply With Quote
Old 12-25-2011, 01:40 AM   #2
Zoab
Human being with feelings
 
Join Date: Dec 2011
Posts: 3
Default Solution

In case this would be helpful to anyone in the future, I've managed to fix my code by commenting out lines and introducing them one by one back to the program.

I also used a lot of debug variables and the right window pane displayed them with my other variables.

Aloha,
Zoab
Zoab is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.