JavaScript Debugging
+3
chae
ligaya
Admin
7 posters
Hello, Compile! :: COET :: JS
Page 1 of 1
JavaScript Debugging
❝ Errors can (will) happen, every time you write
some new computer code. ❝
some new computer code. ❝
Debugging is the process of testing, finding, and reducing bugs (errors) in computer programs.The first known computer bug was a real bug (an insect) stuck in the electronics.
When you hear the word program you can somehow relate it to “debug” or “debugging”. Because no perfect program has been made without debugging it or securing that the whole program will run smoothly. Every programmers knows the struggle of debugging, even a single colon could cause program malfunctions.
Any experience about debugging a program? Are they good experience or bad?
Have you try to debug a program?
How do you find debugging?
Are you a victim of the "semi-colon" character?
Let me know your thoughts about Debugging a program on the comments below
Last edited by Admin on Fri Oct 13, 2017 3:22 am; edited 2 times in total
Re: JavaScript Debugging
That's the hardest part when you program. Debugging. i h8
ligaya- Member
- Posts : 4
Join date : 2017-10-13
Re: JavaScript Debugging
Yas, ikr. Every programmers knows the struggle. Have you try creating a program using JavaScript?
Re: JavaScript Debugging
Yes, as well as C++.Admin wrote:Yas, ikr. Every programmers knows the struggle. Have you try creating a program using JavaScript?
ligaya- Member
- Posts : 4
Join date : 2017-10-13
Re: JavaScript Debugging
Uhmm, just like with the common errors, some mispelled words, wrong declaration of variable, and ofcourse the legendary semi-colon. -_-
ligaya- Member
- Posts : 4
Join date : 2017-10-13
Re: JavaScript Debugging
Awww, that hurts. anyway, any advice for aspiring programmers like you when it comes to debugging a program?
Re: JavaScript Debugging
Thank you for that wonderful question, Admin. As much as possible be careful on writing codes, so you can easily debug it when error occur. Because as stated above ❝ Errors can (will) happen, every time you write some new computer code. ❝ and i believe it's true. That would be all, and I Thank you!!
ligaya- Member
- Posts : 4
Join date : 2017-10-13
Re: JavaScript Debugging
Very well said, candidate no. 1. No, kidding aside, yes it's true we always need to be careful when writing computer codes. There are some platforms that are not so case sensitive, but we must always put in mind that in whatever environment we program, we always have to lessen the error.
Re: JavaScript Debugging
Debugging is really hard but you can easily do it, through the Java Editor, where in you debug a program line by line.
chae- Master
- Posts : 8
Join date : 2017-10-14
Re: JavaScript Debugging
whenever i heard the word debugging, i thought it was fixing viruses and etc.
thankyou for telling us the short yet, easy to udnerstand meaning of it.
thankyou for telling us the short yet, easy to udnerstand meaning of it.
Athena- Newbie
- Posts : 1
Join date : 2017-10-15
Re: JavaScript Debugging
Athena wrote:whenever i heard the word debugging, i thought it was fixing viruses and etc.
thankyou for telling us the short yet, easy to understand meaning of it.
You're always welcome, i'm glad you that you have learned something from this forum. You may also read comments for further discussions. So stay tuned
Re: JavaScript Debugging
ligaya wrote:That's the hardest part when you program. Debugging. i h8
I agreed with you ligaya ! it was the superduper hardest part in programming. #debugging </3
Liza- Master
- Posts : 7
Join date : 2017-10-16
Re: JavaScript Debugging
Ma'am Can you give us tips on how to debug our program? thank you in advance
Liza- Master
- Posts : 7
Join date : 2017-10-16
Re: JavaScript Debugging
hi maam justine .. what is the best way of debbuging?
janella- Member
- Posts : 3
Join date : 2017-10-16
Re: JavaScript Debugging
Would you mind to share with us the common errors you encountered in debugging a program?
Nadine Lust- Master
- Posts : 8
Join date : 2017-10-16
Re: JavaScript Debugging
Nadine Lust wrote:Would you mind to share with us the common errors you encountered in debugging a program?
Well according to cprogramming.com most of the common programming mistakes are:
1.Undeclared variables
2. Undeclared Functions
3. Uninitialized variables
4. Extra Semicolons
5. Misusing the && and || operators
6. Using a single equal sign to check equality
Personally, i find these common mistakes true. also "7. Mispelled Words/Variables"
Thanks for asking, Nadine! :*
Re: JavaScript Debugging
chae wrote:Debugging is really hard but you can easily do it, through the Java Editor, where in you debug a program line by line.
Yes, chae that's true. But do you have hacks in debugging a program?
Re: JavaScript Debugging
Liza wrote:Ma'am Can you give us tips on how to debug our program? thank you in advance
i usually do debugging where i review each line. "line by line"
If you only have short codes i recommend to debug your program line by line, it works for me ~_^
but if you have longer one, you may use a bug tracker.
TIP: Make use of comments to avoid confusion.
chae- Master
- Posts : 8
Join date : 2017-10-14
Re: JavaScript Debugging
janella wrote:hi maam justine .. what is the best way of debbuging?
Hi janella! well, i just find out this one.
How do you debug Javascript?
1. In Internet Explorer 9, load the example.
2. Press F12 to open the F12 tools, and click the Script tab.
3. In the left pane, scroll to the first function, right-click the line that says "var a = 5;", and click Insert breakpoint. ...
4. Click Start debugging, and then on the webpage in the browser, click the Run button.
It works.
chae- Master
- Posts : 8
Join date : 2017-10-14
oh i see. I hope it would'nt stress me out once i debug my program. thank you for sharing this with us :)
Admin wrote:Nadine Lust wrote:Would you mind to share with us the common errors you encountered in debugging a program?
Well according to cprogramming.com most of the common programming mistakes are:
1.Undeclared variables
2. Undeclared Functions
3. Uninitialized variables
4. Extra Semicolons
5. Misusing the && and || operators
6. Using a single equal sign to check equality
Personally, i find these common mistakes true. also "7. Mispelled Words/Variables"
Thanks for asking, Nadine! :*
Nadine Lust- Master
- Posts : 8
Join date : 2017-10-16
Hello, Compile! :: COET :: JS
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|