How to Debug Javascripts - Part2 (Firefox)

This is the part of the my How to debug Javascripts artical. This one will explain how to debug on Firefox using Firebug. See my previous artical on how to debug in Internet Explorer.

Firebug is not only a javascript debugger, it is a complete web debugging tool where you can explore the html DOM and much much more. And it is very easy to use. Once you install Firebug you will get a menu item in under the Tools menu. Using that you can enable and disable firebug for selected sites.

Once you open the Firebug you can inspect the javascripts under the Script tab and do the debugging. You can put breakpoints just by clicking the near the line number.

One special thing with Firebug is that you can put conditional break points. To add conditional break points just right click near the line number you want to put the break point and type your condition.

When there are Javascript errors in the page it is shown in the Firefox status bar. Once you click on that it will open all the errors in the console with possible reasons for that error. This will be very useful for you to find bugs in your application.

You can get more information on Firebug for Firebug site.

Technorati Tags: , ,

Happy Sinhala and Tamil New Year


Navantis Avurudu Festival

It's Sinhala and Tamil New Year time.....
Navantis had organized a wonderful New Year festival last Sunday (8th April) at Brows Beach Hotel Negambo. It was wonderful event. Almost all of the employees and their family members participated for this event.
Festival started with a traditional breakfast which included Kevum(Oil Cakes) and Kiribath(Milk Rice). We had lots of game on that day. I participated for Goni Race(Sack Race) and Kaba Adeema(Tag-o-War). It was very enjoyable day.

See more photos in my Paccasa albem >>

How to get over the fear of public speaking

If you have problems in public speaking (like me), this is a good artical to read. It gives some simple methods to get rid of the fear of public speaking. Techniques described in the artical are;

  • Practice your speech in front of a mirror
  • Practice your speech facing a wall
  • Practice with a friend
  • Practice with a peer (non-friend)
  • Record yourself
  • Do a dry run
  • Don’t only practice in front of your family

How to get over your fear of public speaking ->>


Internet Explorer 7 Keyboard shortcuts

If you are using Internet Explorer 7, here are some useful keyboard shortcuts that will make your life easy.

Basic tasks


Toggle full screen mode


Toggle display of menu bar (if it's not set to display)


Zoom in


Zoom out


100 percent zoom


Search for selected text on page


Open current page in new window


Select everything on page


Refresh current page


Refresh cache and current page


Halt downloading page


Select text in Address bar


Display addresses you've typed


Add www and .com to the beginning and end of text entered in Address bar


Add http://www to the beginning of text entered in Address bar



Go to your home page

[Alt] Left arrow (or [Backspace])

Go to previous page

[Alt] Right arrow

Go to next page


Move forward through items on page


Move backward through items on page


[Ctrl] Click

Open a link in its own tab in background

[Ctrl][Shift] Click

Open a link in its own tab in foreground


Open new tab in foreground

[Ctrl][Tab] (or [Ctrl][Shift][Tab] to reverse)

Cycle between tabs

[Ctrl]W (or [Alt][F4]

Close current tab

[Ctrl] number

Jump to specific tab by number (1 through 8)


Jump to last tab


Close all but current tab


Display Tabs list


Toggle Quick Tabs view



Open search results in new tab after typing search text in Search box or Address bar


Jump to Search box

[Ctrl] Down arrow

Open Search Provider menu (when you're in Search box)



Open Print dialog box

In print preview…


Open Print dialog box


Open Page Setup dialog box


Set to portrait orientation


Set to landscape orientation


Toggle headers and footers on and off


Change print size


Show multiple pages


View full page


View page width


Close Print Preview

Menu access


Open Home menu


Open Print menu


Open Tools menu


Open RSS menu


Open Help menu

Favorites, history, feeds


Add current page to Favorites


Open Organize Favorites dialog box

[Alt] Up arrow or Down arrow

Move selected item up or down list in Organize Favorites dialog box


Open Favorites Center


Open Favorites Center with favorites displayed (Add [Shift] to pin the list open)


Open Favorites Center with history displayed (Add [Shift] to pin the list open)


Open Favorites Center with feeds displayed (Add [Shift] to pin the list open)


Display Add To Favorites menu


Display all feeds in feed view


Mark feed as read in feed view


Jump to Search box in feed view


Tribune to Heros

Tribune to Heros
We will never forget the sacrifices you made to protect our country....


Get Google Toolbar Button

Enter your email address:

Delivered by FeedBurner