Skip to main content

Posts

Showing posts with the label debugger

Debug javascript.

Guide to Debug your java script files in google Chrome. Ways to find debug console in chrome. 1. install FirebugLite : https://chrome.google.com/webstore/detail/bmagokdooijbeehmkpknfglimnifench/https%3A//chrome.google.com/webstore/detail/elkkomimknapgodalnkjeddkjnjkfmfp 2. press F12 or inspect element Below window will open up which contains various tabs.   Tab Details: Elements: it shows HTML part of your page. console : in case you want to run some statements. sources : all your JavaScript files. Network : shows all your Ajax and load requests. Performance: you can monitor your page performance How to debug: To debug any javascript file just search your file by using ctrl+O or select your file from the left panel of your browser window. To add debug point just click on row number as shown in the image below. Now perform any operations on you webpage. Here I'm selecting value from the dropdown. As soon as you sel...

Eclipse debugger waiting to connect when running through remote application.

Many a time happen that you are trying to connect your eclipse debugger through remote application server like JBOSS and it always shows waiting to connect. This happens because the port you are trying to connect is bind to some another application. Find and listening port 1. Go to run 2. Type cmd 3. Write this command -----------  netstat -ano | find " <port> " *<port> you are trying to listen in my case this is 8080 you will get a list of process listening to that port 4. Kill all the task  write this command  taskkill / F / PID 7820 7820-- This is the Id which you can see in the last coloumn That's it your port is free to use now.