How to Debug a Windows Vista Sidebar Gadget with Visual Studio
Gadgets are the new items which are introduced in the windows vista for the first time. Basically these are simple graphical user interface short cuts develop by the maker of the windows. By the addition of the gadgets one can easy access the things like GOOGLE just because they had introduced their own gadget which can work with new Microsoft windows.
Sometimes some errors are occurred in the gadget which can be debugging through different software one of the most efficient software to debug the sidebar gadget in the windows vista is the visual studio.
Step to debug the sidebar gadget through the Visual Studio:
Open the inter explorer, so to the options and search the advanced setting and then uncheck the “disable script debugging” then open the source file of the gadget which you want to debug. The source file is mostly stored in the gadget folder which is saved in the Microsoft and then in the sidebar folder. Then you will see the files of the entire gadget running and saved on your system. Then right click on it and go to the “open with” option and then select the java script so that computer will open the file the java script application.
Then select the file user want to check the error or debug the error. As soon as the files open up click on the break point button. Note that the file of the gadget which is open is read only and open only for the purpose of the debugging user can make changes in it. Now it will give the option to change the file name, change its name. Then debug it and fix the error according and then reopen the gadget and attach the debug file with that gadget so that user can feel his or her gadget without any error.
|