is it possible to perform debugging using the arduino software??????
No.
The Arduino Due has debugging capabilities, but something else is needed, like Visual Studio.
For the ATmega microcontrollers, debugging is done by printing values tot the serial monitor. When the code is to interface with sensors and displays, proven libraries are often available.
If you want to debug your code, you can show it here on this forum, and we spot the bugs for you.
The hardest part of debugging is isolating the bug...correcting it is usually pretty easy. Because of this, you should try to write using "defensive coding" techniques. For example, using as few global variables as possible, writing cohesive functions (i.e., functions that only do one thing), minimizing coupling between functions, etc. There have been complete books on the subject and they can make a difference in the way you write and debug code. This is an old one, but worth getting:
If you use either VisualStudio or AtmelStudio, the VisualMicro plug-in (www.visualmicro.com) allows setting breakpoints and tracepoints, and other debugging capabilities. It is very well worth the cost.
Regards,
Ray L.