Forum posts for sidebar.exe

Code Profiling in the Windows Sidebar Environment

Does anyone know of a way I can code-profile my Windows Sidebar Gadget?

I've played around with the code-profiling tool in IE8's 'Developer Tools' and the code-profiling included in Visual Studio 2010, but I can't find a way to include the System.* API, which my gadget relies on (as it is standard in the Sidebar environment). The gadget also relies on cross-domain AJAX requests; which is normally permitted in the Sidebar environment.

By code-profiling I primarily mean:


Function call count
Function execution time


I've tried the following using Visual Studio 2010 and the Performance Wizard:


Using 'Instrumentation' mode with the 'An ASP.NET or JavaScript application' selected. However the gadget opens in Internet Explorer instead of Windows Sidebar
Using 'Instrumentation' mode with the 'An executable' option selected, and selecting Sidebar.exe. However, I get the error 'Error VSP1030: Invalid, mismatched, or no PDB file was found for C:UsersMattDesktopWindows Sidebarsidebar.exe'
Using 'CPU Sampling' mode with the 'An ASP.NET or JavaScript application' selected. However the gadget opens in Internet Explorer instead of Windows Sidebar


When using the 'Attach to Process' option in the Analyse -> Profiler menu, I can successfully attach to the sidebar.exe process, but the profiler returns data about the actual Sidebar process, and no information about my Gadget.

I don't have a Project/Solution file for my Gadget.

Regards,
Matt

View complete forum thread with replies

Other posts related to sidebar.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Reliably detecting OS architecture in a Windows Desktop Gadget
Executing commands from C# problem
Windows 7 Gadgets - Windows 7 Logo Program Certification
gadgets: Need to uninstall a gadget programmatically through code in C#
Code Profiling in the Windows Sidebar Environment
Running MSI installers silently

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.