Open up the main javascript file in Visual Studio.

Attach to Sidebar Process

Next we’ll need to attach to the specific sidebar process for your gadget.

Now comes the critical step… click to set a breakpoint just to the left of the white area…

How to Debug a Windows Vista Sidebar Gadget With Visual Studio

Important Notes

Happy debugging!

image

image

image

image

image

image