Screenshot 2023-10-25 at 10.48.41 PM.png
How I Met Your Error

My dearest users,

Prior to the advent of the javascript console, fixing errors was a drag. We had to put up those cryptic

image7f7d4e.png

By

Anand Doshi

·

Jan, 26 2013

·

2

min read

My dearest users,

Prior to the advent of the javascript console, fixing errors was a drag. We had to put up those cryptic crash reports in pop-ups; Not so unlike the blue screen of death!

Also, due to the dynamic, all forgiving nature of javascript, there was never any feedback or error message when it crashed. It would just stop working. You had to be in "Fire-fighting" mode, to track what caused the crash.

Thanks to FireBug (an add-on for firefox), it all changed for good. Its console displayed error messages when javascript crashed. Many times, it even pointed us to the exact code that caused the error. Phew! 

We also started logging server's error reports in the console. It was a dream come true. We only had to look at one place to trace the error. 


FireBug console


WebKit's console (console in chrome/safari) took this game even further. It printed tracebacks of the erroneous script. (A traceback is the sequence of steps that lead to the current error)


WebKit's Console


Developers love precision. We pray for details, error messages and tracebacks. We look for cause and effect. In a dynamic environment consisting of javascript, python and the internet, such feedback keeps frustration at bay.

To err is human; but we don't want forgiveness. We just want to squash these bugs as fast as possible. And we need your help to do that.

So, when faced with an error, please shoot us with details like the steps you followed, your observations, screenshots and the console's output and we shall defend the honour of ERPNext or die trying.

tl;dr

An error reported in detail, can keep this humble developer from staying late!

Notes:

  1. FireBug's console - http://getfirebug.com/errors
  2. WebKit's (chrome/safari) console - https://developers.google.com/chrome-developer-tools/docs/console#basic_operation

Published by

Anand Doshi

on

Jan, 26 2013
1

Share

Add your comment

Success!

Error

Comments

eddie007

· 

February 18, 2019

Thank you guys for sharing this awesome blog if you have some problem like how do i fix connecti

Discussion

image7f7d4e.png

Paul Mugambi

·

3 days

ago

Beautiful read, and an insight into an individual I respect and have learned a lot from. Am inspired to trust the process and never give up.

image4c43d6.png

Anna Dane

·

5 days

ago

I must say this is a really amazing post, and for some of my friends who provide Best British Assignment Help, I must recommend this post to them.

Add your comment

Comment